TimelineViewPresets
Mixin
View preset handling.
A Scheduler's presets are loaded with a default set of ViewPreset instances which are defined by the system in the PresetManager.
The zooming feature works by reconfiguring the Scheduler with a new ViewPreset selected from the presets store.
ViewPresets can be added and removed from the store to change the amount of available steps. Range of zooming in/out can be also modified with maxZoomLevel / minZoomLevel properties.
This mixin adds additional methods to the Scheduler : maxZoomLevel, minZoomLevel, zoomToLevel, zoomIn, zoomOut, zoomInFull, zoomOutFull.
forceFit option is set to true for the Scheduler or when using a filtered time axis.See also
- ViewPreset - View preset configuration
- PresetStore - Preset store
- TimelineZoomable - Zoom functionality
- TimelineSmoothZoom - Smooth zoom functionality
Configs
Configs are options you supply in a configuration object when creating an instance of this classProperties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of TimelineViewPresets class, or subclass thereof.
-
Get the PresetStore created for the Scheduler, or set an array of ViewPreset config objects.
Has a corresponding presets config.
-
Get/set the current view preset
Has a corresponding viewPreset config.
-
Identifies an object as an instance of TimelineViewPresets class, or subclass thereof.