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
trueto 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 theweekStartDayHas a corresponding runtime daySelector property.
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of DaySelectable class, or subclass thereof.
-
If daySelector is set, then this will be an instance of DaySelector which encapsulates the day selector at the top of this view.
Has a corresponding daySelector config.
-
Identifies an object as an instance of DaySelectable class, or subclass thereof.