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

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().