Ab.timeline.TimelineController object
Ab.timeline.TimelineController object
File:
ab-timeline-controller.js
The Timeline control has two major parts: the Model and the Controller. The timeline Controller object is responsible for displaying the timeline using data contained inside the Model object. It also handles user input, such as mouse actions and drag-and-drop, and updates affected parts of the Model.
Properties
-
displayEventTooltip
Boolean, read-write . If this flag is set to true, the timeline will display a tooltip when the user hovers the mouse over an event. The tooltip will contain the event type (i.e. new room reservation etc) and the event start and end times.
-
displayTimeslotTooltip
Boolean, read-write . If this flag is set to true, the timeline will display a tooltip when the user hovers the mouse over a timeslot. The tooltip will display the start time of the timeslot interval.
-
blockOpacity
Number, read-write . Controls the timeline block opacity for events and pre/post blocks. The value must be between 0.0 (fully transparent) and 1.0 (fully opaque).