Skip to main content

BaseComboBoxDirective<T, O>

Extends

  • ComboBoxDirective<T, O>

Extended by

Type Parameters

Type ParameterDefault type
T extends ComboBoxItemComboBoxItem
O extends BaseComboBoxDirectiveOptions<T>BaseComboBoxDirectiveOptions<T>

Constructors

Constructor

new BaseComboBoxDirective<T, O>(options): BaseComboBoxDirective<T, O>;

Parameters

ParameterType
optionsO

Returns

BaseComboBoxDirective<T, O>

Overrides

ComboBoxDirective<T, O>.constructor

Properties

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

Accessors

buttons

Get Signature

get buttons(): Btn[];
Returns

Btn[]

Inherited from

ComboBoxDirective.buttons

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

Inherited from

ComboBoxDirective.dismiss

getAllItems()

getAllItems(): T[];

Returns

T[]


getContent()

getContent(): Element;

Returns

Element

Overrides

ComboBoxDirective.getContent

getItems()

getItems(): T[];

Returns

T[]


getPosition()

getPosition(): MousePosition;

Returns

MousePosition

Inherited from

ComboBoxDirective.getPosition

getSelected()

getSelected(): T[];

Returns

T[]

Inherited from

ComboBoxDirective.getSelected

selectItem()

selectItem(key): void;

Parameters

ParameterType
keystring

Returns

void


setParent()

setParent(parent): void;

Parameters

ParameterType
parentany

Returns

void

Inherited from

ComboBoxDirective.setParent

setSearch()

setSearch(search): void;

Parameters

ParameterType
searchstring

Returns

void

Overrides

ComboBoxDirective.setSearch

setSelected()

setSelected(items): void;

Parameters

ParameterType
itemsT[]

Returns

void

Overrides

ComboBoxDirective.setSelected

showSearch()

showSearch(): boolean;

Returns

boolean