useShinyCustom: Use the shinyCustom Package

Description Usage Arguments Value

View source: R/useShinyCustom.R

Description

Injects into the Shiny app the JavaScript required to create custom objects.

Usage

1
2
3
useShinyCustom(slider_policy = "debounce", slider_delay = "250",
  numeric_policy = "debounce", numeric_delay = "250",
  text_policy = "debounce", text_delay = "250", rmd = FALSE)

Arguments

slider_policy

Policy for a custom slider. Values are 'debounce' (the default) and 'throttle'.

slider_delay

Delay for a custom slider. Values are in milliseconds. The default is 250 (same as for a regular slider).

numeric_policy

Policy for a custom numeric input. Values are 'debounce' (the default) and 'throttle'.

numeric_delay

Delay for a custom numeric input. Values are in milliseconds. The default is 250 (same as for a regular numeric input).

text_policy

Policy for a custom text input. Values are 'debounce' (the default) and 'throttle'.

text_delay

Delay for a custom text input. Values are in milliseconds. The default is 250 (same as for a regular text input).

rmd

Whether or not the app is an interactive R Markdown document. Default is FALSE.

Value

a tag list


homerhanumat/shinyCustom documentation built on Jan. 8, 2018, 4:47 a.m.