calendar: Create an interactive calendar

Description Usage Arguments

View source: R/calendar.R

Description

Buld interactive calendar with the JavaScript tui-calendar library.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
calendar(
  defaultView = c("week", "month", "day"),
  defaultDate = NULL,
  taskView = FALSE,
  scheduleView = TRUE,
  useDetailPopup = TRUE,
  useCreationPopup = FALSE,
  readOnly = TRUE,
  useNav = FALSE,
  bttnOpts = bttn_options(),
  usageStatistics = FALSE,
  width = NULL,
  height = NULL,
  elementId = NULL
)

Arguments

defaultView

Default view of calendar. The default value is 'week', other possible values are 'month' and 'day'.

defaultDate

Default date for displaying calendar.

taskView

Show the milestone and task in weekly, daily view. The default value is true. If the value is a vector, it can be 'milestone', 'task'.

scheduleView

Show the all day and time grid in weekly, daily view. The default value is false. If the value is a vector, it can be 'allday', 'time'.

useDetailPopup

Logical. Display a pop-up on click with detailled informations about schedules.

useCreationPopup

Logical. Allow user to create schedules with a pop-up.

readOnly

Calendar is read-only mode and a user can't create and modify any schedule. The default value is true.

useNav

Add navigation buttons to got to previous or next period, or return to 'today'.

bttnOpts

Options tu customize buttons (only if useNav = TRUE), see bttn_options.

usageStatistics

Toast UI collect statistics on the use of open source via Google Analytics, set to TRUE to share your usage, default to FALSE.

width

A numeric input in pixels.

height

A numeric input in pixels.

elementId

Use an explicit element ID for the widget.


dreamRs/tuicalendr documentation built on Aug. 4, 2021, 12:02 a.m.