Interface: IDropdownApi
Charting Library.IDropdownApi
Dropdown menu API
Methods
applyOptions
▸ applyOptions(options
): void
Apply options to the dropdown menu. Note that this method does not affect the menu's alignment. To change the alignment, you should remove and recreate the menu as follows:
myCustomDropdownApi.remove();
widget.createDropdown(optionsWithDifferentAlignment);
Parameters
Name | Type | Description |
---|---|---|
options | Partial <Omit <DropdownParams , "align" >> | Partial options for the dropdown menu |
Returns
void
remove
▸ remove(): void
Remove the dropdown menu.
Returns
void