EventNavigation

Configs

1
enableDeleteKey: Boolean= true

Allow using [Delete] and [Backspace] to remove events/assignments

Properties

2
isEventNavigation: Boolean= truereadonly
Identifies an object as an instance of EventNavigation class, or subclass thereof.
isEventNavigation: Boolean= truereadonlystatic
Identifies an object as an instance of EventNavigation class, or subclass thereof.

Functions

1

Determines if an event is within the time axis.

ParameterTypeDescription
eventRecordEventModel

The event to check

Returns: Boolean -

true if the record is within the time axis

Events

1

Fired when a user gesture causes the active item to change.

// Adding a listener using the "on" method
eventNavigation.on('navigate', ({ event, item, oldItem }) => {

});
ParameterTypeDescription
eventEvent

The browser event which instigated navigation. May be a click or key or focus event.

itemHTMLElement | null

The newly active item, or null if focus moved out.

oldItemHTMLElement | null

The previously active item, or null if focus is moving in.

Event handlers

1

Called when a user gesture causes the active item to change.

new EventNavigation({
    onNavigate({ event, item, oldItem }) {

    }
});
ParameterTypeDescription
eventEvent

The browser event which instigated navigation. May be a click or key or focus event.

itemHTMLElement | null

The newly active item, or null if focus moved out.

oldItemHTMLElement | null

The previously active item, or null if focus is moving in.