moonstone/ Day Selector
Exports the moonstone/DaySelector.DaySelector component.
import DaySelector from '@enact/moonstone/DaySelector';
Members
DaySelectorComponent
A component that allows the user to choose day(s) of the week.
import DaySelector from '@enact/moonstone/DaySelector';
Properties
- longDayLabels
Use long day names (Sunday, Monday..) for labels
If
false
short text will be displayed for the the days (Sun, Mon..)Default: false
Boolean
DaySelectorBaseComponent
A component that allows the user to choose day(s) of the week.
import {DaySelectorBase} from '@enact/moonstone/DaySelector';
Properties
- disabled
When
true
, applies a disabled style and the control becomes non-interactive.- onSelect
Called when an item is selected. The first parameter will be an object containing a
selected
member, containing the array of numbers representing the selected days, zero indexed.- selected
An array of numbers (0-indexed) representing the selected days of the week.
Boolean
Function
ArrayNumberNumber
ArrayBooleanFunctionModuleNumberObjectString