@@ -10,24 +10,38 @@ import QCalendarDayApi from '@quasar/quasar-ui-qcalendar/dist/api/QCalendarDay.j
1010
1111<MarkdownApi :api =" QCalendarDayApi " name =" QCalendarDay " />
1212
13+ ## Dark
14+
15+ This will only make sense if your browser is currently in light mode.
16+
1317<MarkdownExample title =" Dark " file =" WeekDark " no-github no-edit />
1418
19+ ## Alignment
20+
1521You can use the properties ` date-header ` , ` date-align ` and ` weekday-align ` to manipulate how the header area looks.
1622
1723<MarkdownExample title =" Alignment " file =" WeekAlignment " no-github no-edit />
1824
25+ ## Cell Width
26+
1927You can specify the ` cell-width ` property to make your calendar overrun it's horizontal boundaries.
2028
2129The calendar goes into a special ` sticky ` mode when this happens so you can scroll vertically and/or horizontally.
2230
2331<MarkdownExample title =" Cell Width " file =" WeekCellWidth " no-github no-edit />
2432
33+ ## Date Type
34+
2535<MarkdownExample title =" Date Type " file =" WeekDateType " no-github no-edit />
2636
37+ ## Disabled Before After
38+
2739All days before and after the current day have been disabled with the properties ` disabled-before ` and ` disabled-after ` .
2840
2941<MarkdownExample title =" Disabled Before After " file =" WeekDisabledBeforeAfter " no-github no-edit />
3042
43+ ## Disabled Days
44+
3145The next 4 days after the current day have been disabled with the ` disabled-days ` property.
3246
3347The first example uses an array of dates to disable each specific date.
@@ -36,10 +50,14 @@ The second example uses a range, which is an array within an array of start and
3650
3751<MarkdownExample title =" Disabled Days " file =" WeekDisabledDays " no-github no-edit />
3852
53+ ## Disabled Weekdays
54+
3955The weekends have been disabled with the ` disabled-weekdays ` property.
4056
4157<MarkdownExample title =" Disabled Weekdays " file =" WeekDisabledWeekdays " no-github no-edit />
4258
59+ ## Drag and Drop
60+
4361Drag any items in the list to a calendar interval or the top header.
4462
4563::: tip
@@ -50,28 +68,48 @@ Instead use `box-shadow` to create an inset like this `box-shadow: inset 0 0 0 1
5068
5169<MarkdownExample title =" Drag and Drop " file =" WeekDragAndDrop " no-github no-edit />
5270
71+ ## First Day Monday
72+
5373<MarkdownExample title =" First Day Monday " file =" WeekFirstDayMonday " no-github no-edit />
5474
75+ ## Five Day Workweek
76+
5577<MarkdownExample title =" Five Day Workweek " file =" WeekFiveDayWorkweek " no-github no-edit />
5678
79+ ## Focusable/Hoverable
80+
5781::: tip
5882If the property ` focus-type ` contains ` weekday ` , you can also use the <kbd >Enter</kbd > or <kbd >Space</kbd > keys for date selection.
5983:::
6084
6185<MarkdownExample title =" Focusable/Hoverable " file =" WeekFocusableHoverable " no-github no-edit />
6286
87+ ## Interval Count
88+
6389<MarkdownExample title =" Interval Count " file =" WeekIntervalCount " no-github no-edit />
6490
91+ ## Interval Height
92+
6593<MarkdownExample title =" Interval Height " file =" WeekIntervalHeight " no-github no-edit />
6694
95+ ## Interval Minutes (15)
96+
6797<MarkdownExample title =" Interval Minutes (15) " file =" WeekIntervalMinutes15 " no-github no-edit />
6898
99+ ## Interval Minutes (30)
100+
69101<MarkdownExample title =" Interval Minutes (30) " file =" WeekIntervalMinutes30 " no-github no-edit />
70102
103+ ## Interval Start
104+
71105<MarkdownExample title =" Interval Start " file =" WeekIntervalStart " no-github no-edit />
72106
107+ ## Locale
108+
73109<MarkdownExample title =" Locale " file =" WeekLocale " no-github no-edit />
74110
111+ ## Modify Intervals
112+
75113Using the proerties ` interval-minutes ` , ` interval-start ` and ` interval-count ` , you can control how the calendar looks in terms of the range of intervals.
76114
77115This has been a difficult concept for some to grasp.
@@ -82,6 +120,8 @@ Now, we change interval minutes to 15 (for 15 minute segmented intervals). That
82120
83121<MarkdownExample title =" Modify Intervals " file =" WeekModifyIntervals " no-github no-edit />
84122
123+ ## Navigation
124+
85125This example uses the ` use-navigation ` property along with the ` focusable ` and ` focus-type ` properties.
86126
87127If the calendar has focus you can use the <kbd >&larr ; </kbd > and <kbd >&rarr ; </kbd > keys on your keyboard for navigation.
@@ -90,10 +130,16 @@ On the intervals, you can use <kbd>Tab</kbd> and <kbd>Shift</kbd>+<kbd>Tab</kbd>
90130
91131<MarkdownExample title =" Navigation " file =" WeekNavigation " no-github no-edit />
92132
133+ ## No Active Date
134+
93135<MarkdownExample title =" No Active Date " file =" WeekNoActiveDate " no-github no-edit />
94136
137+ ## No Header
138+
95139<MarkdownExample title =" No Header " file =" WeekNoHeader " no-github no-edit />
96140
141+ ## No Scroll
142+
97143When the property ` no-scroll ` is used, you must provide an outter div that has ` overflow: auto ` to control the scrolling.
98144
99145::: tip
@@ -102,12 +148,18 @@ Note that the date header now scrolls with the rest of the calendar.
102148
103149<MarkdownExample title =" No Scroll " file =" WeekNoScroll " no-github no-edit />
104150
151+ ## Now
152+
105153The current date has been set to tomorrow via the ` now ` property.
106154
107155<MarkdownExample title =" Now " file =" WeekNow " no-github no-edit />
108156
157+ ## Selected Intervals
158+
109159<MarkdownExample title =" Selected Intervals " file =" WeekSelectedIntervals " no-github no-edit />
110160
161+ ## Selection
162+
111163The example below uses the ` selected-start-end-dates ` property in conjunction with mouse events to select interval ranges.
112164
113165::: tip
@@ -116,24 +168,40 @@ Try toggling the `Mobile selection` to see how selection can be changed.
116168
117169<MarkdownExample title =" Selection " file =" WeekSelection " no-github no-edit />
118170
171+ ## Slot - Column Header
172+
119173<MarkdownExample title =" Slot - Column Header " file =" WeekSlotColumnHeader " no-github no-edit />
120174
175+ ## Slot - Day Body
176+
121177This example uses both the ` day-body ` and ` head-day-event ` slots.
122178
123179You can click the ` head-day-event ` badges which will call the calendar's ` scrolltoTime ` method.
124180
125181<MarkdownExample title =" Slot - Day Body " file =" WeekSlotDayBody " no-github no-edit />
126182
183+ ## Slot - Day Container (Show Current Time)
184+
127185<MarkdownExample title =" Slot - Day Container (Show Current Time) " file =" WeekSlotDayContainerShowCurrentTime " no-github no-edit />
128186
129187<MarkdownExample title =" Slot - Day Interval " file =" WeekSlotDayInterval " no-github no-edit />
130188
189+ ## Slot - Head Day
190+
131191<MarkdownExample title =" Slot - Head Day " file =" WeekSlotHeadDay " no-github no-edit />
132192
193+ ## Slot - Head Day (Event)
194+
133195<MarkdownExample title =" Slot - Head Day (Event) " file =" WeekSlotHeadDayEvent " no-github no-edit />
134196
197+ ## Slot - Head Intervals
198+
135199<MarkdownExample title =" Slot - Head Intervals " file =" WeekSlotHeadIntervals " no-github no-edit />
136200
201+ ## Theme
202+
137203<MarkdownExample title =" Theme " file =" WeekTheme " no-github no-edit />
138204
205+ ## Transitions
206+
139207<MarkdownExample title =" Transitions " file =" WeekTransitions " no-github no-edit />
0 commit comments