Type Alias NavigationEventParameters

NavigationEventParameters: {
    element?: HTMLElement;
    interval: Interval;
    isAfter: boolean;
    isBefore: boolean;
    monthChanged: boolean;
    yearChanged: boolean;
}

Type declaration

  • Optionalelement?: HTMLElement

    The HTML element targeted by the click; undefined when navigating programmatically.

  • interval: Interval

    Date object describing the lower and upper end of the new page's interval.

  • isAfter: boolean

    Whether the new page is after the one previously rendered (i.e. navigating forward).

  • isBefore: boolean

    Whether the new page is before the one previously rendered (i.e. navigating backward).

  • monthChanged: boolean

    Whether month was changed (includes navigating to the same month in another year).

  • yearChanged: boolean

    Whether the year was changed.