Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
git-cleanup-branch
v0.1.2
GitCleanupBranch
App
AppState
AppUI
Git
Branch
Branches
LocalBranch
RemoteBranch
SelectableTextUI
ActionStream
Builder
Element
SelectableElement
TextElement
UI
Built with Crystal 1.9.2
2023-10-08 09:40:37 UTC
class
SelectableTextUI::SelectableElement(S)
SelectableTextUI::SelectableElement(S)
SelectableTextUI::Element
Reference
Object
Defined in:
selectable_text_ui/selectable_element.cr
Constructors
.new
(block : UI(S), content : String, on_enter : SelectableElement(S), S -> S)
Instance Method Summary
#block
#content
#content=
(content : String)
#draw
: String
#on_enter
(state : S) : S
Instance methods inherited from class
SelectableTextUI::Element
draw : String
draw
Constructor Detail
def self.
new
(block :
UI
(S), content : String, on_enter :
SelectableElement
(S), S -> S)
#
[
View source
]
Instance Method Detail
def
block
#
[
View source
]
def
content
#
[
View source
]
def
content=
(content : String)
#
[
View source
]
def
draw
: String
#
[
View source
]
def
on_enter
(state : S) : S
#
[
View source
]