packages/eui/packages/components/layout/eui-toolbar/toolbar-search/toolbar-search.component.ts
AfterViewInit
AfterContentInit
changeDetection | ChangeDetectionStrategy.OnPush |
selector | eui-toolbar-search |
imports |
EUI_BUTTON
EUI_ICON
EUI_ICON_BUTTON
EUI_AUTOCOMPLETE
EUI_ICON_INPUT
EUI_INPUT_TEXT
EuiTemplateDirective
NgTemplateOutlet
FormsModule
AsyncPipe
|
templateUrl | ./toolbar-search.component.html |
styleUrl | ./toolbar-search.component.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(event: Event)
|
||||||
Parameters :
Returns :
void
|
onInputFocus | ||||||
onInputFocus(event: Event)
|
||||||
Parameters :
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 |
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()
|