meteoJS/timeline
Source: Timeline.
Child class
Abstract types
Class
Timeline
Abstract types
optionKeyboardNavigation Object
Keyboard navigation options.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
enabled |
boolean |
Yes |
Enable Keyboard Navigation. Defaults to |
first |
Yes |
Keyboard event to execute
Defaults to |
|
last |
Yes |
Keyboard event to execute
Defaults to |
|
prev |
Yes |
Keyboard event to execute
Defaults to |
|
next |
Yes |
Keyboard event to execute
Defaults to |
|
prevAllEnabledTime |
Yes |
Keyboard event to execute
Defaults to |
|
nextAllEnabledTime |
Yes |
Keyboard event to execute
Defaults to |
|
add |
Object with module:meteoJS/timeline~optionPressedKeys properties |
Yes |
Keyboard event to execute |
sub |
Object with module:meteoJS/timeline~optionPressedKeys properties |
Yes |
Keyboard event to execute |
optionPressedKeys (module:meteoJS/timeline~specialKeyIdentifier or Array of module:meteoJS/timeline~specialKeyIdentifier)
Definition of pressed keys with optional special keys.
options Object
Options for timeline constructor.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
maxTimeGap |
(number or undefined) |
Yes |
Maximum of time period (in seconds) between two timestamps. If this option is specified, than e.g. the method getTimes() could return more timestamps than defined by setTimesBySetID. |
keyboardNavigation |
Yes |
Keyboard navigation options. |
specialKeyIdentifier ("ctrl", "alt", "shift", "meta", or Number)
Special key identifier.
Events
change:enabledTimes
change:time
Property
Name | Type | Optional | Description |
---|---|---|---|
oldDate |
Date |
|
Time before change. |