SiSearchBarInputDirective documentation¶
selector
input[siSearchBarInput] Input used by SiSearchBarComponent instead of its default input.
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| disabled ¶ | boolean | false | |
| readonly ¶ | boolean | false |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| onChange ¶ | (_: any) => void | The registered callback function called when a change or input event occurs on the input element. @docs-private | |
| onReset() ¶ | () => void | ||
| onTouched ¶ | () => void | The registered callback function called when a blur event occurs on the input element. @docs-private | |
| ɵdir ¶ | unknown | ||
| ɵfac ¶ | ɵɵFactoryDeclaration<DefaultValueAccessor, [ null, null, { optional: true } ]> | ||
| registerOnChange(...) ¶ | (fn: (_: any) => }) => {void | Registers a function called when the control value changes. @docs-private Parameters
| |
| registerOnTouched(...) ¶ | (fn: () => void) => void | Registers a function called when the control is touched. @docs-private Parameters
|
Types Documentation¶
| Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality. |
|---|
| 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.