Template JS functions to support customer renderer

set_template(
  cal,
  milestoneTitle = NULL,
  taskTitle = NULL,
  alldayTitle = NULL,
  ...
)

js_title(title)

Arguments

cal

A calendar object.

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.

title

Text to use as title.

Note

Online JavaScript documentation: https://nhn.github.io/tui.calendar/latest/Template

Examples

calendar(defaultView = "week", taskView = TRUE, scheduleView = c("allday")) %>% set_template( milestoneTitle = js_title("TODO"), taskTitle = js_title("Assignment"), alldayTitle = js_title("Full-time") )