add_cookie_handlers | R Documentation |
Wrap a shiny ui in this function in order to add cookie-handling
functionality. The ui can be defined in any format compatible with shiny,
using functions such as shiny::fluidPage()
, shiny::bootstrapPage()
,
shiny::htmlTemplate()
, or a raw HTML string.
add_cookie_handlers(ui)
ui |
A 0- or 1-argument function defining the ui of a shiny app, or a
|
An object with the same signature as the input ui
, but with the
dependencies needed to handle cookies. If ui
is a shiny::tagList()
, a
shiny::tagList()
will be returned; if ui
is a function, a function will
be returned.
str(add_cookie_handlers("example"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.