Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Opal::FormModule::MultiSelectField
Inherits
Opal::FormModule::FormField
<
Reference
<
Object
Multi-select toggle field with checkboxes
Constructors
new
(name :
String
, label :
String
, options :
Array
(
String
), initial_selected :
Array
(
String
) = [] of
String
)
Source
Instance methods
handle_key
(key :
Terminal::Key
) :
Bool
Source
options
Source
raw_value
Source
render
(buffer :
UI::Buffer
, x :
Int32
, y :
Int32
, width :
Int32
) :
Int32
Source
selected
Source
selected=
(selected :
Set
(
String
))
Source
sub_cursor
Source
sub_cursor=
(sub_cursor :
Int32
)
Source