How to use?
Copy-paste the stylesheet <link>
into your <head>
to load the CSS.
Copy-paste the following <script>
near the end of your pages under JS Implementing Plugins to enable it.
Copy-paste the following <script>
near the end of your pages under JS Front to enable it.
Copy-paste the init function under JS Plugins Init., before the closing </body>
tag, to enable it.
Basic parameters
Start without parameters
Set min value, max value and start point
Set type to double and specify range, also showing grid and adding prefix "$"
Set up range and step
Set up range with negative values
Using step 250
Set up range with fractional values, using fractional step
Select required amount
Set up range with a single range result
Set up range with a single (editable) result
Set up range with double range results
Range with Bar charts
Set up range with bar chart.
Set up range with double bar chart results
Range with Area charts
Set up range with area chart.
Set up range with double area chart results
JavaScript behavior
For a full JavaScript behavior, see the official documentation: Settings .
Methods
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-hs-ion-range-slider-options='{}'
. For more detailed or missing attributes/functions, see the official Ion RangeSlider.js documentation page.
Parameters | Description | Default value |
---|---|---|
|
Choose slider type, could be single - for one handle, or double for two handles |
'single' |
|
Hides min and max labels |
true |
|
Hide from and to labels |
true |
|
Chart ID in the foreground, this chart will change the width depending on the position of the sliders | null |
|
ID of the block to which the value from secondary_val.values will be transferred |
null |
|
the value of the main chart upon reaching which the corresponding value from secondary_val.values will be displayed |
null |
|
background graph values | null |
|
If type is single , then the ID of the block to which the current value will be transmitted. If type is set to double , then the ID of the block to which the value will be transferred from the left slider |
null |
|
If type is in the value double , then the ID of the block to which the value from the right slider will be transferred |
null |