ui-utils | R Documentation |
These functions wrap or assist shiny UI functions.
anchor_date(id) year_first_monday(date = lubridate::today()) calendar_title(id) date_range(id) year_start(date = lubridate::today()) year_end(date = lubridate::today()) download_dropdown(id, inputId = "download_dropdown") download_button( id, inputId = "download", label = toupper(gsub("_", " ", inputId)) ) rotations(id)
id |
ID assigned to the module calling the function |
date |
A date to use for determining the year; defaults to
|
inputId |
ID to give to this instance of the function |
label |
A user-facing label for the UI element |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.