Download the PHP package lewisjenkins/craft-range-slider without Composer
On this page you can find all versions of the php package lewisjenkins/craft-range-slider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lewisjenkins/craft-range-slider
More information about lewisjenkins/craft-range-slider
Files in lewisjenkins/craft-range-slider
Package craft-range-slider
Short Description An easy-to-use, flexible and responsive range slider for Craft CMS.
License proprietary
Informations about the package craft-range-slider
LJ Range Slider plugin for Craft CMS
An easy-to-use, flexible and responsive range slider for Craft CMS.
Requirements
This plugin requires Craft 4 or 5.
Installation
You can install the plugin via the Craft Plugin Store.
LJ Range Slider Overview
This plugin adds the following fieldtype:
- LJ Range Slider
Simple start, basic params
Set min value, max value and start point.
Set type to double, specify range, show grid and add a prefix "$".
Set up range and step
Set up range with negative values.
Force fractional values, using fractional step 0.1.
UI controls
Hide min and max labels
Hide from and to labels
Using array of custom values
When using custom values, FROM and TO should be zero-based index of values array. So in the example below 0=0, 1=10, 2=100, 3=1000, 4=10000 etc.
Values array could be anything, even strings.
Same as above, but using Twig logic.
Change visual look of numbers (prettify).
Improve readability of big numbers, like 1000000.
Decorating numbers with prefixes, postfixes and other symbols.
Adding currency symbol and + symbol to the maximum number.
Using prefix and postfix at the same time.
Customising Grid
Divide the grid.
Callbacks
Using sliders callbacks.
Twig logic
The Slider Parameters field can use Twig logic and even Craft element queries.
You can even fetch your Slider Parameters from a template.
Skins
Big skin
Modern skin
Sharp skin
Round skin
Square skin
Additional Options
See the original ion.rangeSlider project for additional options.
Templating
"Single" Range Slider fields return a single FROM value.
"Double" Range Slider fields returns FROM and TO values, separated by ; character.
This plugin is based on the ion.rangeSlider plugin [MIT licence], with thanks to the original developer.
Brought to you by Lewis Jenkins.