createSlider()
Creates a HTML Slider element
Last updated
Creates a HTML Slider element
Last updated
Input | Description |
---|---|
minimum | minimum value of the slider |
maximum | maximum value of the slider |
initial_value(optional) | initial value of the slider |
step(optional) | step size between values on the slider. |
createSlider()
function can be used to create a slider control . A slider control is a graphical user interface element that allows the user to select a value within a specified range by dragging a handle along a track.
To draw the slider control on the canvas, you can use the draw()
function and the value()
method of the slider object
Find these documents helpful? Let the people who made them help your child learn to code at Strivemath!
We'd love to hear your Feedback/Comments here.