View source: R/initShinyCookie.R
This initializes the shinyCookie object in the UI of the Shiny application. It should be placed within the UI of the Shiny application before any other 'shinyCookie' functions are called.
1 | initShinyCookie(id, timeout = 500)
|
id |
The identifier that will be used to reference cookies from the server as input$id |
timeout |
The length of time (in milliseconds) to poll for changes to cookies |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.