diff --git a/docs/src/content/docs/components/search_bar.mdx b/docs/src/content/docs/components/search_bar.mdx index c4793d1..c61b0c4 100644 --- a/docs/src/content/docs/components/search_bar.mdx +++ b/docs/src/content/docs/components/search_bar.mdx @@ -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.