v7.3.0
SupportExamplesFree Trial

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.

Zooming is not supported when forceFit option is set to true for the Scheduler or when using a filtered time axis.

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class

    Events

    Events are triggered for certain actions in this class and can be listened for to react to those actions in your code

    Event handlers

    Event handlers are callbacks called as a result of certain actions in this class

    Type definitions

    Source path

    Scheduler/view/mixin/TimelineViewPresets.js

    Contents