JS.logify: JS Functions To Logify A 'sliderInput'

Description Usage Arguments Value Functions

View source: R/0_ui_helpers.R

Description

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.

Usage

1
2
3
JS.logify(digits = 2)

JS.onload(slider_id_vec, sci = FALSE)

Arguments

digits

digits after numerical point

slider_id_vec

vector of slider ids. Multiple functions for multiple sliderInput can be registered at once.

sci

use scientific notation

Value

JS code in string to logify sliderInput

JS code in string to register the JS logify functions

Functions


francocarol/shiny_ctmm documentation built on March 17, 2020, 12:11 a.m.