v7.3.0
SupportExamplesFree Trial

TimelineDomEvents
Mixin

Mixin that handles dom events (click etc) for scheduler and rendered events. Provides the base event processing pipeline that identifies which schedule element was interacted with and fires corresponding component events.

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • Set to true to ignore reacting to DOM events (mouseover/mouseout etc) while scrolling. Useful if you want to maximize scroll performance.

Properties

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

Functions

Functions are methods available for calling on the class
    • initDomEvents( )
      private

      Adds listeners for DOM events for the scheduler and its events. Which events is specified in Scheduler#schedulerEvents.

    • onElementMouseOut( )
      private

      Relays mouseout events as eventmouseleave if out from rendered event. Also removes Scheduler#overScheduledEventClass from the hovered element.

    • onElementMouseOver( )
      private

      Relays mouseover events as eventmouseenter if over rendered event. Also adds Scheduler#overScheduledEventClass to the hovered element.

    • onScheduleScroll( )
      private

      This handles the scheduler being scrolled below the mouse by trackpad or keyboard events. The context, if present needs to be recalculated.

    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

    Source path

    Scheduler/view/mixin/TimelineDomEvents.js

    Contents