import { KbqSearchExpandableModule } from '@koobiq/components/search-expandable';Selector: kbq-search-expandable
| Name | Description |
|---|---|
@Input() disabled: boolean
|
|
@Input() emitValueTimeout: number
|
Timeout in milliseconds for emit event. The default value is taken from defaultEmitValueTimeout |
@Input() isEmitValueByEnterEnabled: boolean
|
Emit event by enter or not. Default is false |
@Input() isOpened: boolean
|
state of component. |
@Input() placeholder: string
|
Placeholder for input when expanded |
@Input() tooltipText: string
|
Tooltip text for the search button. When set, overrides localeData.tooltip |
@Output('isOpenedChange')
isOpenedChange: EventEmitter |
Event emitted when the search has been toggled. |
| configuration: any | |
| externalConfiguration: unknown | |
| lastFocusOrigin: "touch" | "mouse" | "keyboard" | "program" | |
| value: BehaviorSubject |
Current value in input. |
default configuration of search-expandable
const KBQ_SEARCH_EXPANDABLE_DEFAULT_CONFIGURATION: { tooltip: string; placeholder: string; };
Injection Token for providing configuration of search-expandable
const KBQ_SEARCH_EXPANDABLE_CONFIGURATION: InjectionToken<unknown>;
const defaultValue: string;
const defaultEmitValueTimeout: number;