File

projects/m2-core/src/lib/shared/ui-components/options-list.component.ts

Implements

OnInit

Metadata

Index

Properties
Methods
Inputs
Outputs

Constructor

constructor()

Inputs

getOptionsFn
Type : function
notFoundMsg
Type : string
openExtendedClickFn
Type : function
options
Type : Option[]
placeholder
Type : string
searchInputVisible
Type : boolean
Default value : true

Outputs

optionSelected
Type : EventEmitter

Methods

Public focus
focus()
Returns : void
Public loadOptions
loadOptions(searchQuery?: string)
Parameters :
Name Type Optional
searchQuery string Yes
Returns : void
ngOnInit
ngOnInit()
Returns : void
onOptionSelected
onOptionSelected(option: Option)
Parameters :
Name Type Optional
option Option No
Returns : void
onSearchInput
onSearchInput()
Returns : void
onSearchInputClick
onSearchInputClick(event: MouseEvent)
Parameters :
Name Type Optional
event MouseEvent No
Returns : void
onSearchInputKeyDown
onSearchInputKeyDown(event: KeyboardEvent)
Parameters :
Name Type Optional
event KeyboardEvent No
Returns : void
Public resetKeyboardSearch
resetKeyboardSearch()
Returns : void

Properties

highlightOnly
Default value : false
listComponent
Type : SdiListComponent
Decorators :
@ViewChild(SdiListComponent)
searchInputRef
Type : ElementRef
Decorators :
@ViewChild('searchInput')
searchQuery
Type : string
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""