JS.logify | R Documentation |
sliderInput
Make Shiny sliderInput
support
logarithmic scale.
JS.logify
create a Javascript function in string, and JS.onload
register
the functions to sliderInput
. Search the usage in /inst/app/ui.R
for
examples.
JS.logify(digits = 2)
JS.onload(slider_id_vec, sci = FALSE)
digits |
digits after numerical point |
slider_id_vec |
vector of slider ids. Multiple functions for multiple
|
sci |
use scientific notation |
JS code in string to logify sliderInput
JS code in string to register the JS logify functions
JS.logify
: JS Function To Logify A sliderInput
JS.onload
: JS code in string to register JS logify functions for
each sliderInput
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.