cal_props {toastui} | R Documentation |
Calendar properties
Description
Define calendar properties for grouping schedules under common theme.
Usage
cal_props(cal, ...)
Arguments
cal |
A |
... |
Either named arguments to use as calendar properties or a
|
Value
A calendar
htmlwidget.
Examples
library(toastui)
# Define theme for schedules
calendar(cal_demo_data()) %>%
cal_props(
list(
id = 1,
name = "PERSO",
color = "white",
bgColor = "steelblue",
borderColor = "steelblue"
),
list(
id = 2,
name = "WORK",
color = "white",
bgColor = "forestgreen",
borderColor = "forestgreen"
)
)
[Package toastui version 0.3.3 Index]