gp_add_slider | R Documentation |
At this moment, there is no strategy to manage parent <> child interaction between what is main component (Welcome) and children. React does have strong tools for this but geoplumber is still young.
gp_add_slider(
min = 1L,
max = 10L,
step = 1L,
js_on_change_function = "onChange={(sliderInput) => this.setState({sliderInput})}",
to_vector = "NA"
)
min |
min to pass to the slider |
max |
max to pass to the slider |
step |
step changes for min & max |
js_on_change_function |
the function to run on React parent (Welcome). By default,
|
to_vector |
instead of reading default Welcome.js |
## Not run:
gp_add_slider()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.