initShinyCookie: Initialize shinyCookie in an applicatoin's UI

Description Usage Arguments

View source: R/initShinyCookie.R

Description

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.

Usage

1
initShinyCookie(id, timeout = 500)

Arguments

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


colearendt/shinycookie documentation built on Jan. 20, 2020, 12:06 a.m.