View source: R/calendar-utils.R
cal_template | R Documentation |
Template JS functions to support customer renderer
cal_template(
cal,
milestoneTitle = NULL,
taskTitle = NULL,
alldayTitle = NULL,
...
)
cal |
A |
milestoneTitle |
The milestone title (at left column) template function. |
taskTitle |
The task title (at left column) template function. |
alldayTitle |
The allday title (at left column) template function. |
... |
Additionals arguments, see online documentation. |
A calendar
htmlwidget object.
Online JavaScript documentation: https://github.com/nhn/tui.calendar/blob/main/docs/en/apis/template.md.
All arguments must be JavaScript function with htmlwidgets::JS()
.
calendar(view = "week", taskView = TRUE) %>%
cal_template(
milestoneTitle = "TODO",
taskTitle = "Assignment",
alldayTitle = "Full-time"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.