v7.3.0

DaySelectable
Mixin

Mixin that provides the ability to add a DaySelector as a tbar.

This is used by the EventList and also DayView to optionally be able to show a day selector row docked at the top.

Views that use this mixin can show a compact day selector header:

const calendar = new Calendar({
    modes : {
        list : {
            // Show a day selector at the top of the list view
            daySelector : true
        }
    }
});

See also

  • DaySelector — The day selector widget shown at the top
  • EventList — View that can use this mixin
  • DayView — View that can use this mixin
No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • A Configure this as true to show a DaySelector docked at the top to act as a day selector. By default, the DaySelector will be seven days in duration and locked to start a the weekStartDay

    Has a corresponding runtime daySelector property.

Properties

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

Source path

Calendar/widget/mixin/DaySelectable.js

Contents