Crubbletea::Bubbles::List::ListModel
Inherits Crubbletea::Bubbles::Help::KeyMap < Reference < Object
Constructors
new(items : Array(Item) = [] of Item, initial_index : Int32 = 0, width : Int32 = 20, height : Int32 = 10, styles : Styles = Styles.new, key_map : KeyMap = KeyMap.new, infinite : Bool = false, title : String = "", show_status_bar : Bool = true, show_pagination : Bool = true, show_help : Bool = true, help_show_all : Bool = false, filtering_enabled : Bool = true, item_height : Int32 = 2, item_spacing : Int32 = 1, selected_prefix : String = "", normal_prefix : String = "", additional_short_help_keys : Array(Key::Binding) = [] of Key::Binding, additional_full_help_keys : Array(Array(Key::Binding)) = [] of Array(Key::Binding))
SourceInstance methods
additional_full_help_keys
Sourceadditional_short_help_keys
Sourcecursor_down
Sourcecursor_end
Sourcecursor_start
Sourcecursor_up
Sourcefilter
Sourcefilter_applied?
Sourcefilter_input
Sourcefilter_state
Sourcefiltering?
Sourcefiltering_enabled
Sourcefull_help
Sourceheight
Sourcehelp_show_all
Sourceindex
Sourceinfinite
Sourceitem_height
Sourceitem_spacing
Sourceitems
Sourcekey_map
Sourcenext_page
Sourcenormal_prefix
Sourceprev_page
Sourceselected
Sourceselected_prefix
Sourceshort_help
Sourceshow_help
Sourceshow_pagination
Sourceshow_status_bar
Sourcestatus_message
Sourcestyles
Sourcetitle
Sourceview
Sourcewidth
Source