CascadingSearchEngineComboBoxDirective<T>
Extends
ComboBoxDirective<T,CascadingSearchEngineComboBoxDirectiveOptions<T>>
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends ComboBoxItem | ComboBoxItem |
Constructors
Constructor
new CascadingSearchEngineComboBoxDirective<T>(options): CascadingSearchEngineComboBoxDirective<T>;
Parameters
| Parameter | Type |
|---|---|
options | CascadingSearchEngineComboBoxDirectiveOptions<T> |
Returns
CascadingSearchEngineComboBoxDirective<T>
Overrides
ComboBoxDirective<
T,
CascadingSearchEngineComboBoxDirectiveOptions<T>
>.constructor
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
_buttons | public | Set<Btn> | ComboBoxDirective._buttons |
currentListener? | public | () => any | - |
directives | public | ComboBoxDirective<T, ComboBoxDirectiveOptions<T>>[] | - |
id | readonly | string | ComboBoxDirective.id |
selections | public | Map<ComboBoxDirective<T, ComboBoxDirectiveOptions<T>>, T> | - |
Accessors
buttons
Get Signature
get buttons(): Btn[];
Returns
Btn[]
Inherited from
ComboBoxDirective.buttons
currentDirective
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
| Parameter | Type |
|---|---|
btn | Btn |
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
getPosition()
getPosition(): MousePosition;
Returns
Inherited from
ComboBoxDirective.getPosition
getSelected()
getSelected(): T[];
Returns
T[]
Inherited from
ComboBoxDirective.getSelected
setCurrentDirective()
setCurrentDirective(directive): void;
Parameters
| Parameter | Type |
|---|---|
directive | ComboBoxDirective<T> |
Returns
void
setParent()
setParent(parent): void;
Parameters
| Parameter | Type |
|---|---|
parent | any |
Returns
void
Overrides
ComboBoxDirective.setParent
setSearch()
setSearch(search): void;
Parameters
| Parameter | Type |
|---|---|
search | string |
Returns
void
Inherited from
ComboBoxDirective.setSearch
setSelected()
setSelected(items): void;
Parameters
| Parameter | Type |
|---|---|
items | T[] |
Returns
void
Overrides
ComboBoxDirective.setSelected