mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-06-27 16:10:13 +08:00
hiddenDays option
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
|
||||
hiddenDays *1.6.2*
|
||||
==================
|
||||
|
||||
Exclude certain days-of-the-week from being displayed.
|
||||
|
||||
<div class='spec' markdown='1'>
|
||||
Array, *default*: `[]`
|
||||
</div>
|
||||
|
||||
The value is an array of day-of-week indices to hide. Each index is zero-base (Sunday=`0`)
|
||||
and ranges from `0-6`. Example:
|
||||
|
||||
hiddenDays: [ 2, 4 ] // hide Tuesdays and Thursdays
|
||||
|
||||
hiddenDays: [ 1, 3, 5 ] // hide Mondays, Wednesdays, and Fridays
|
||||
|
||||
By default, no days are hidden, unless [weekends]() is set to `false`.
|
||||
@@ -9,6 +9,7 @@ General Display
|
||||
<li>firstDay</li>
|
||||
<li>isRTL</li>
|
||||
<li>weekends</li>
|
||||
<li>hiddenDays</li>
|
||||
<li>weekMode</li>
|
||||
<li>weekNumbers</li>
|
||||
<li>weekNumberCalculation</li>
|
||||
|
||||
Reference in New Issue
Block a user