class static
meteoJS/timeline/navigationButtons . NavigationButtons
Source: timeline/
Class to create buttons and insert them into the DOM to navigate through the times of the passed timeline.
import NavigationButtons from 'meteojs/timeline/NavigationButtons';
new NavigationButtons([options])
Parameter
Name | Type | Optional | Description |
---|---|---|---|
options |
|
Yes |
Options. |
Method
insertButtonInto(node, ...buttons)
Creates button HTMLElements and append them to the passed node.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
node |
|
Node to insert the buttons into it. |
|
buttons |
|
Button defintions to insert. Value can be repeated. |