Learn R Programming

toastui (version 0.4.0)

cal_template: Set template for a calendar

Description

Template JS functions to support customer renderer

Usage

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

Value

A calendar htmlwidget object.

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.

Examples

Run this code
calendar(view = "week", taskView = TRUE) %>%
  cal_template(
    milestoneTitle = "TODO",
    taskTitle = "Assignment",
    alldayTitle = "Full-time"
  )

Run the code above in your browser using DataLab