Description Usage Arguments Examples
This function creats a FullCalendar htmlwidget that will show up in the viewer pane, if you're running Rstudio, or in your Rmarkdown document.
1 2 |
data |
a data frame with one row per event where the columns needs
to follow the naming conventions by FullCalendar shown here: https://fullcalendar.io/docs/event_data/Event_Object/ .
This data frame will then be translated into a json array by means of |
settings |
A list of settings for the FullCalendar. See here for the available settings: https://fullcalendar.io/docs/display/ . |
width |
Fixed width for widget (in css units). The default is NULL, which results in intelligent automatic sizing based on the widget's container. |
height |
Fixed height for widget (in css units). The default is NULL, which results in intelligent automatic sizing based on the widget's container. |
elementId |
Use an explicit element ID for the widget (rather than an automatically generated one). Useful if you have other JavaScript that needs to explicitly discover and interact with a specific widget instance. |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.