cookie_dependency | R Documentation |
Add the js-cookie Javascript library as an HTML dependency, and make cookies available in the shiny input object.
cookie_dependency()
Call this function within your shiny ui to attach the necessary JavaScript code.
An htmltools::htmlDependency()
, which shiny uses to add the
js-cookie Javascript library exactly once.
cookie_dependency()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.