Dropdown
Mixin Extends:
An event-enabled dropdown control with optional title.
Used in VerticalAxis.
Constructor Summary
Public Constructor | ||
public |
constructor(choices: Array<Object>, options: Object) |
Member Summary
Public Members | ||
public get |
Returns the value of the currently selected item. |
|
public set |
Selects the item with the given value. |
Public Constructors
public constructor(choices: Array<Object>, options: Object) source
Params:
Name | Type | Attribute | Description |
choices | Array<Object> | The dropdown items given as an array of |
|
options | Object |
|
The options object. |
options.position | string |
|
The position of the control (one of the map corners). Possible values are 'topleft', 'topright', 'bottomleft' or 'bottomright'. |
options.title | string |
|
The dropdown title that is displayed above the dropdown. |
options.value | string |
|
Value of the item that should be initially selected. |
options.templateId | string |
|
Element ID of an alternative HTML |