Skip to main content

SearchEngineComboBoxDirective<E, T>

Extends

Type Parameters

Type ParameterDefault type
E extends SearchResultEntrySearchResultEntry
T extends ComboBoxItemComboBoxItem

Constructors

Constructor

new SearchEngineComboBoxDirective<E, T>(options): SearchEngineComboBoxDirective<E, T>;

Parameters

ParameterType
optionsSearchEngineComboBoxDirectiveOptions<E, T>

Returns

SearchEngineComboBoxDirective<E, T>

Overrides

ComboBoxDirective<T, SearchEngineComboBoxDirectiveOptions<E, T>>.constructor

Properties

PropertyModifierTypeInherited from
_buttonspublicSet<Btn>ComboBoxDirective._buttons
idreadonlystringComboBoxDirective.id

Accessors

buttons

Get Signature

get buttons(): Btn[];
Returns

Btn[]

Inherited from

ComboBoxDirective.buttons

engine

Get Signature

get engine(): SearchEngine<SearchResult<E>>;
Returns

SearchEngine<SearchResult<E>>


loadingMessage

Get Signature

get loadingMessage(): string;
Returns

string


loadingMoreMessage

Get Signature

get loadingMoreMessage(): string;
Returns

string


parameters


searchPlaceholder

Get Signature

get searchPlaceholder(): string;
Returns

string

Inherited from

ComboBoxDirective.searchPlaceholder

subtitle

Get Signature

get subtitle(): string;
Returns

string

Inherited from

ComboBoxDirective.subtitle

title

Get Signature

get title(): string;
Returns

string

Inherited from

ComboBoxDirective.title

Methods

addButton()

addButton(btn): void;

Parameters

ParameterType
btnBtn

Returns

void

Inherited from

ComboBoxDirective.addButton

centerOnMobile()

centerOnMobile(): boolean;

Returns

boolean

Inherited from

ComboBoxDirective.centerOnMobile

dismiss()

dismiss(): void;

Returns

void

Overrides

ComboBoxDirective.dismiss

getContent()

getContent(): Element;

Returns

Element

Overrides

ComboBoxDirective.getContent

getItems()

getItems(): T[];

Returns

T[]


getLoadingStatus()

getLoadingStatus(items?): string;

Parameters

ParameterType
itemsT[]

Returns

string


getPosition()

getPosition(): MousePosition;

Returns

MousePosition

Inherited from

ComboBoxDirective.getPosition

getSelected()

getSelected(): T[];

Returns

T[]

Inherited from

ComboBoxDirective.getSelected

isLoading()

isLoading(): boolean;

Returns

boolean


selectItem()

selectItem(item): void;

Parameters

ParameterType
itemT

Returns

void


setParent()

setParent(parent): void;

Parameters

ParameterType
parentany

Returns

void

Inherited from

ComboBoxDirective.setParent

setResult()

setResult(result): void;

Parameters

ParameterType
resultSearchResult<E>

Returns

void


setSearch()

setSearch(search): void;

Parameters

ParameterType
searchstring

Returns

void

Inherited from

ComboBoxDirective.setSearch

setSelected()

setSelected(items): void;

Parameters

ParameterType
itemsT[]

Returns

void

Overrides

ComboBoxDirective.setSelected

showSearch()

showSearch(viewportMode): boolean;

Parameters

ParameterType
viewportModeReactorViewportMode

Returns

boolean