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 |
if (FALSE) { gp_add_slider() }