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