cal_month_options {toastui} | R Documentation |
Calendar Month Options
Description
Options for monthly view.
Usage
cal_month_options(
cal,
startDayOfWeek = NULL,
daynames = NULL,
narrowWeekend = NULL,
visibleWeeksCount = NULL,
isAlways6Week = NULL,
workweek = NULL,
visibleEventCount = NULL,
...
)
Arguments
cal |
A |
startDayOfWeek |
Numeric. The start day of week. |
daynames |
Vector. The day names in monthly. Default values are 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' |
narrowWeekend |
Logical. Make weekend column narrow(1/2 width). |
visibleWeeksCount |
Numeric. The visible week count in monthly(0 or null are same with 6). |
isAlways6Week |
Logical. Always show 6 weeks. If false, show 5 weeks or 6 weeks based on the month. |
workweek |
Logical. Show only 5 days except for weekend. |
visibleEventCount |
Numeric. The visible schedule count in monthly grid. |
... |
Additional options. |
Value
A calendar
htmlwidget.
Note
Online JavaScript documentation: https://github.com/nhn/tui.calendar/blob/main/docs/en/apis/options.md#month
Examples
# Change option for monthly view
calendar(view = "month") %>%
cal_month_options(
startDayOfWeek = 1,
daynames = c("Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"),
narrowWeekend = TRUE
)
[Package toastui version 0.3.3 Index]