packages/components/layout/eui-app-v2/eui-app-toolbar/eui-app-toolbar-search.ts
AfterViewInit
AfterContentInit
| changeDetection | ChangeDetectionStrategy.OnPush |
| selector | eui-app-toolbar-search |
| imports |
EUI_BUTTON
EUI_ICON
EUI_ICON_BUTTON
EUI_AUTOCOMPLETE
EUI_ICON_INPUT
EUI_INPUT_TEXT
EuiTemplateDirective
NgTemplateOutlet
FormsModule
AsyncPipe
|
| templateUrl | ./eui-app-toolbar-search.html |
| styleUrl | ./eui-app-toolbar-search.scss |
Properties |
Methods |
Inputs |
Outputs |
HostBindings |
Accessors |
| hasExpandAnimation |
Type : boolean
|
Default value : true
|
| hasSearchButton |
Type : boolean
|
Default value : false
|
| isAutocomplete |
Type : boolean
|
Default value : false
|
| isInputText |
Type : boolean
|
Default value : false
|
| panelWidth |
Type : string
|
Default value : '25vw'
|
| placeholderLabel |
Type : string
|
| searchResults |
Type : EuiAutoCompleteItem[]
|
Default value : []
|
| inputBlur |
Type : EventEmitter<Event>
|
| inputFocus |
Type : EventEmitter<Event>
|
| search |
Type : EventEmitter<string>
|
| searchClick |
Type : EventEmitter<string>
|
| selectionChange |
Type : EventEmitter<EuiAutoCompleteItem[]>
|
| class |
Type : string
|
| onInputBlur |
onInputBlur()
|
|
Returns :
void
|
| onInputFocus |
onInputFocus()
|
|
Returns :
void
|
| onSearch | ||||||
onSearch(e: string)
|
||||||
|
Parameters :
Returns :
void
|
| onSearchClick | ||||||
onSearchClick(isIconOnly: boolean)
|
||||||
|
Parameters :
Returns :
void
|
| onSearchInput | ||||||
onSearchInput(e: KeyboardEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onSelectionChange | ||||||
onSelectionChange(items: EuiAutoCompleteItem[])
|
||||||
|
Parameters :
Returns :
void
|
| isInputFocus |
Type : unknown
|
Default value : false
|
| Public resultItemTemplate |
Type : TemplateRef<literal type>
|
| searchInput |
Type : string
|
Default value : ''
|
| searchTerm |
Type : string
|
| templates |
Type : QueryList<EuiTemplateDirective>
|
Decorators :
@ContentChildren(EuiTemplateDirective)
|
| cssClasses |
getcssClasses()
|