v7.3.0

RangeMenu
Widget

A menu for selecting a time range for a Calendar mode. It presents checkable items for day, week, month, year, and decade ranges, and updates the owning view's date range when the user toggles a selection. The menu automatically syncs its checked state with the current view range when shown.

This is not intended to be used directly, but is instead used internally by Calendar views such as the EventList to allow users to change the displayed time span.

It can be configured through the listRangeMenu config:

const calendar = new Calendar({
    modes : {
        list : {
            // Disable the range selection menu
            listRangeMenu : null
        }
    }
});

See also

No results

Properties

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

Source path

Calendar/widget/RangeMenu.js

Contents