Search expandable
import { KbqSearchExpandableModule } from '@koobiq/components/search-expandable';

Selector: kbq-search-expandable

Properties
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.
Methods
toggle

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;
Вопросы и предложения по документации
Если у вас есть вопросы или вы хотите внести свой вклад в написание документации, пожалуйста, создайте issue в нашем репозитории на GitHub.