AbstractTimeRanges
Abstract
Abstract base class for features that render highlighted ranges on the time axis, such as TimeRanges and NonWorkingTime. You should not use this class directly.
See also
- TimeRanges - Time ranges feature
- NonWorkingTime - Non-working time feature
- TimeSelection - Time selection feature
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
Set to
trueto enable dragging and resizing of range elements in the header. Note that enabling dragging/resizing also enables showHeaderElements automatically. -
A Tooltip config object which is applied to the tooltip shown when hovering a TimeRange header element
Has a corresponding runtime hoverTooltip property.
-
Set to
falseto not render range elements into the time axis header. Note that header elements are required for interaction such as dragging/resizing, so enabling enableResizing will automatically enable this setting.Has a corresponding runtime showHeaderElements property.
-
A Boolean specifying whether to show tooltip while resizing range elements, or a Tooltip config object which is applied to the tooltip
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of AbstractTimeRanges class, or subclass thereof.
-
Set to
falseto not render range elements into the time axis header. Note that header elements are required for interaction such as dragging/resizing, so enabling enableResizing will automatically enable this setting.Has a corresponding showHeaderElements config.
-
The Tooltip instance shown when hovering a TimeRange header element
Has a corresponding hoverTooltip config.
-
Identifies an object as an instance of AbstractTimeRanges class, or subclass thereof.
Functions
Functions are methods available for calling on the class-
getTipHtml( )
Generates the html to display in the tooltip during drag drop. If you want to customize the contents of the tooltip, supply a dragTipTemplate instead of overriding this function.