shinyjster_js: Shiny JavaScript helper

View source: R/init.R

shinyjster_jsR Documentation

Shiny JavaScript helper

Description

Function to be called first inside the definition of the Shiny UI.

Usage

shinyjster_js(..., set_timeout = TRUE)

Arguments

...

JavaScript text to be put in a script.

set_timeout

If TRUE (default), the JavaScript provided is executed 250 milliseconds after the document is ready. Otherwise, code is included as is.

Details

This function also includes shinyjster_ui() and wraps all JavaScript using js_script().


schloerke/shinyjster documentation built on Feb. 24, 2024, 1:11 p.m.