Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/charmbracelet/bubbles
/ functions
Functions
843 in github.com/charmbracelet/bubbles
⨍
Functions
843
◇
Types & classes
115
Function
ExampleValidateFunc
()
textinput/textinput_test.go:143
Method
FilterValue
()
list/list_test.go:17
Method
FilterValue
FilterValue returns the current value of the filter.
list/list.go:640
Method
FilteringEnabled
FilteringEnabled returns whether or not filtering is enabled.
list/list.go:294
Method
Focused
Focused returns the focus state of the table.
table/table.go:233
Method
FullHelp
FullHelp implements the KeyMap interface.
table/table.go:59
Method
FullHelp
FullHelp returns the delegate's full help.
list/defaultitem.go:228
Method
FullHelp
FullHelp returns bindings to show the full help view. It's part of the help.KeyMap interface.
tree/tree.go:543
Function
FuzzCache
(f *testing.F)
internal/memoization/memoization_test.go:140
Method
GlobalIndex
GlobalIndex returns the index of the currently selected item as it is stored in the unfiltered list of items. This value can be used with SetItem().
list/list.go:538
Method
Hash
Hash is a method that returns the hash of the string.
internal/memoization/memoization.go:115
Method
Hash
Hash is a method that returns the hash of the integer.
internal/memoization/memoization.go:123
Method
Hash
Hash returns a hash of the line.
textarea/textarea.go:271
Method
Height
Height returns the viewport height of the table.
table/table.go:337
Method
Height
Height returns the delegate's preferred height. This has effect only if ShowDescription is true, otherwise height is always 1.
list/defaultitem.go:118
Method
Height
()
list/list_test.go:21
Method
Height
Height returns the current height setting.
list/list.go:669
Method
Height
Height returns the current height of the textarea.
textarea/textarea.go:1274
Method
Height
Height returns the current height setting.
tree/tree.go:491
Method
Height
Height returns the number of rendered lines of the node.
tree/node.go:59
Method
HelpView
HelpView is a helper method for rendering the help menu from the keymap. Note that this view is not rendered by default and you must call it manually
table/table.go:258
Method
Hidden
Hidden returns whether this item is hidden.
tree/node.go:196
Method
HighlightNext
HighlightNext highlights the next match.
viewport/viewport.go:626
Method
HighlightPrevious
HighlightPrevious highlights the previous match.
viewport/viewport.go:635
Method
HighlightedPath
HighlightedPath returns the path of the currently highlighted file or directory.
filepicker/filepicker.go:534
Method
HorizontalScrollPercent
HorizontalScrollPercent returns the amount horizontally scrolled as a float between 0 and 1.
viewport/viewport.go:211
Method
ID
ID returns the unique ID of the model.
stopwatch/stopwatch.go:80
Method
ID
ID returns the spinner's unique ID.
spinner/spinner.go:105
Method
IncrPercent
IncrPercent increments the percentage by a given amount, returning a command necessary to animate the progress bar to the new percentage. If you're r
progress/progress.go:315
Method
Indenter
Indenter sets the indenter implementation. This is used to change the way the tree is indented. The default indentor places a border connecting siblin
tree/node.go:277
Method
IndenterStyle
IndenterStyle sets a static style for all indenters. Use IndenterStyleFunc to conditionally set styles based on the tree node.
tree/node.go:314
Method
Init
Init exists to satisfy the tea.Model interface.
progress/progress.go:256
Method
Init
Init starts the stopwatch.
stopwatch/stopwatch.go:85
Method
Init
Init exists to satisfy the tea.Model interface for composability purposes.
viewport/viewport.go:158
Method
InsertItem
InsertItem inserts an item at the given index. If the index is out of the upper bound, the item will be appended. This returns a command.
list/list.go:452
Method
IsFiltered
IsFiltered returns whether or not the list is currently filtered. It's purely a convenience method for the following: m.FilterState() == FilterAppli
list/list.go:659
Function
IsHidden
IsHidden reports whether a file is hidden or not.
filepicker/hidden_windows.go:11
Method
IsSelected
IsSelected returns whether this item is selected.
tree/node.go:48
Method
ItemStyle
ItemStyle sets a static style for all items.
tree/node.go:219
Method
Items
Items returns the items in the list.
list/list.go:402
Function
NewDefaultDelegate
NewDefaultDelegate creates a new delegate with default styles.
list/defaultitem.go:97
Function
NewMemoCache
NewMemoCache is a function that creates a new MemoCache with a given capacity. It returns a pointer to the created MemoCache.
internal/memoization/memoization.go:38
Method
NewStatusMessage
NewStatusMessage sets a new status message, which will show for a limited amount of time. Note that this also returns a command.
list/list.go:708
Method
Node
Node returns the item at the given yoffset.
tree/tree.go:650
Method
Open
Open opens the node.
tree/node.go:84
Method
PastBottom
PastBottom returns whether or not the viewport is scrolled beyond the last line. This can happen when adjusting the viewport height.
viewport/viewport.go:195
Function
Paste
Paste is a command for pasting from the clipboard into the text input.
textarea/textarea.go:2060
Function
Paste
Paste is a command for pasting from the clipboard into the text input.
textinput/textinput.go:793
Method
Position
Position returns the cursor position.
textinput/textinput.go:244
Method
Render
Render prints an item.
list/defaultitem.go:144
Method
Render
(w io.Writer, m Model, index int, listItem Item)
list/list_test.go:24
Method
Reset
Reset resets the stopwatch to 0.
stopwatch/stopwatch.go:112
Method
Reset
Reset sets the input to its default state with no input.
textinput/textinput.go:285
Method
ResetFilter
ResetFilter resets the current filtering state.
list/list.go:433
Method
ResetSelected
ResetSelected resets the selected item to the first item in the first page of the list.
list/list.go:428
Method
Rows
Rows returns the current rows.
table/table.go:296
Method
Sanitize
(runes []rune)
internal/runeutil/runeutil.go:54
Method
ScrollPercent
ScrollPercent returns the amount of the textarea that is currently scrolled through, clamped between 0 and 1.
textarea/textarea.go:696
Method
SelectedItem
SelectedItem returns the current selected item in the list.
list/list.go:506
Method
SelectedRow
SelectedRow returns the selected row. You can cast it to your own implementation.
table/table.go:287
Method
SetAdditionalFullHelpKeys
SetAdditionalFullHelpKeys sets additional key mappings for the full help view. This allows you to add additional key mappings to the help menu without
tree/tree.go:267
Method
SetClosedCharacter
SetClosedCharacter sets the character used to represent a closed node.
tree/tree.go:232
Method
SetCursorCharacter
SetCursorCharacter sets the character used to represent the cursor.
tree/tree.go:237
Method
SetDelegate
SetDelegate sets the item delegate.
list/list.go:492
Method
SetFilteringEnabled
SetFilteringEnabled enables or disables filtering. Note that this is different from ShowFilter, which merely hides or shows the input view.
list/list.go:285
Method
SetHeight
SetHeight sets delegate's preferred height.
list/defaultitem.go:111
Method
SetHeight
SetHeight sets the height of this component.
list/list.go:729
Method
SetHeight
SetHeight sets the height of the viewport.
viewport/viewport.go:168
Method
SetHelp
SetHelp sets the help text for the keybinding.
key/key.go:94
Method
SetHidden
SetHidden hides/shows a Tree node.
tree/node.go:201
Method
SetItem
SetItem replaces an item at the given index. This returns a command.
list/list.go:438
Method
SetKeys
SetKeys sets the keys for the keybinding.
key/key.go:84
Method
SetOpenCharacter
SetOpenCharacter sets the character used to represent an open node.
tree/tree.go:227
Method
SetPromptFunc
SetPromptFunc supersedes the Prompt field and sets a dynamic prompt instead. If the function returns a prompt that is shorter than the specified prom
textarea/textarea.go:1268
Method
SetScrollOff
SetScrollOff sets the minimal number of lines to keep visible above and below the selected node.
tree/tree.go:222
Method
SetShowFilter
SetShowFilter shows or hides the filter bar. Note that this does not disable filtering, it simply hides the built-in filter view. This allows you to u
list/list.go:341
Method
SetShowHelp
SetShowHelp shows or hides the help view.
list/list.go:391
Method
SetShowPagination
SetShowPagination hides or shows the paginator. Note that pagination will still be active, it simply won't be displayed.
list/list.go:380
Method
SetShowStatusBar
SetShowStatusBar shows or hides the view that displays metadata about the list, such as item counts.
list/list.go:356
Method
SetShowTitle
SetShowTitle shows or hides the title bar.
list/list.go:299
Method
SetSpacing
SetSpacing sets the delegate's spacing.
list/defaultitem.go:126
Method
SetSpinner
SetSpinner allows to set the spinner style.
list/list.go:674
Method
SetStyles
SetStyles sets the table styles.
table/table.go:122
Method
SetStyles
SetStyles sets the styles for the text input.
textinput/textinput.go:197
Method
SetViewportYOffset
SetViewportYOffset sets the vertical offset of the tree's viewport.
tree/tree.go:633
Method
SetWidth
SetWidth sets the width of the viewport.
viewport/viewport.go:178
Method
SettingFilter
SettingFilter returns whether or not the user is currently editing the filter value. It's purely a convenience method for the following: m.FilterSta
list/list.go:651
Method
ShortHelp
ShortHelp implements the KeyMap interface.
table/table.go:54
Method
ShortHelp
ShortHelp returns the delegate's short help.
list/defaultitem.go:220
Method
ShortHelp
ShortHelp returns bindings to show in the abbreviated help view. It's part of the help.KeyMap interface.
list/list.go:1006
Method
ShortHelp
ShortHelp returns bindings to show in the abbreviated help view. It's part of the help.KeyMap interface.
tree/tree.go:525
Method
ShowFilter
ShowFilter returns whether or not the filter is set to be rendered. Note that this is separate from FilteringEnabled, so filtering can be hidden yet s
list/list.go:350
Method
ShowHelp
ShowHelp returns whether or not the help is set to be rendered.
list/list.go:397
Method
ShowPagination
ShowPagination returns whether the pagination is visible.
list/list.go:386
Method
ShowStatusBar
ShowStatusBar returns whether or not the status bar is set to be rendered.
list/list.go:362
Method
ShowTitle
ShowTitle returns whether or not the title bar is set to be rendered.
list/list.go:331
Method
Size
Size is a method that returns the current size of the MemoCache. It is the number of items currently stored in the cache.
internal/memoization/memoization.go:54
Method
Spacing
Spacing returns the delegate's spacing.
list/defaultitem.go:131
Method
Spacing
()
list/list_test.go:22
Method
StatusBarItemName
StatusBarItemName returns singular and plural status bar item names.
list/list.go:374
← previous
next →
501–600 of 843, ranked by callers