EventHighlighting
Mixin
Mixin that provides event highlighting for the Calendar. Highlighted events are displayed at full opacity while non-highlighted events fade to 20% opacity.
This matches the highlightEvents() / unhighlightEvents() API available on Scheduler and Gantt via TimelineBase.
const calendar = new Calendar({ ... });
// Highlight specific events by id
calendar.highlightEvents({ events : [1, 2, 3] });
// Highlight and scroll to the event
calendar.highlightEvents({ events : 42, scroll : true });
// Remove all highlighting
calendar.unhighlightEvents();
No results
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of EventHighlighting class, or subclass thereof.
-
Identifies an object as an instance of EventHighlighting class, or subclass thereof.
Functions
Functions are methods available for calling on the class-
cleanupHighlightedEvents( )private
Called from
onCalendarStoreChangeto clean up highlighted events for records that have been removed from the event store. -
updateHighlighted( )private
Syncs the
b-highlightedCSS class on all visible event elements to match the current set of highlighted event records.