cookie_dependency {cookies} | R Documentation |
Attach the js-cookie javascript library for shiny
Description
Add the js-cookie Javascript library as an HTML dependency, and make cookies available in the shiny input object.
Usage
cookie_dependency()
Details
Call this function within your shiny ui to attach the necessary JavaScript code.
Value
An htmltools::htmlDependency()
, which shiny uses to add the
js-cookie Javascript library exactly once.
Examples
cookie_dependency()
[Package cookies version 0.2.3 Index]