Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/src/content/docs/components/search_bar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ The icon displayed at the end of the search bar.

## Callbacks


### action(index: int)
Invoked when a search result item action is triggered.

### accepted(text: string)
Invoked when the user presses Enter in the search bar.

### edited(text: string)
Invoked when the text in the search bar changes.

### key_pressed(event: KeyEvent) -> EventResult
Invoked when a key is pressed in the search bar.

Expand Down