SiSearchBarComponent documentation¶
selector
si-search-bar
Input Properties¶
Name | Type | Default | Description |
---|---|---|---|
colorVariant ¶ | BackgroundColorVariant | 'base-1' | Color to use for component background |
debounceTime ¶ | number | 400 | Time unit change of search input takes effect. |
disabled ¶ | boolean | false | |
placeholder ¶ | string | '' | Define search input placeholder. |
prohibitedCharacters ¶ | string | Prohibited characters restricting search. | |
readonly ¶ | boolean | false | |
showIcon ¶ | boolean | false | Display search icon before search input. |
tabbable ¶ | boolean | true | Whether the search is tabbable or not. |
value ¶ | string | Define search input content. |
Output Properties¶
Name | Type | Description |
---|---|---|
searchChange ¶ | string | Output callback event will provide you with search term if search input changes. |
Types Documentation¶
Use this type with filter components colorVariant to render component variants based on background of container |
---|
Except where otherwise noted, content on this site is licensed under MIT License.