class SelectableTextUI::SelectableElement(S)

Defined in:

selectable_text_ui/selectable_element.cr

Constructors

Instance Method Summary

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]