An advanced slider input for Yii Framework 2 based on seiyria/bootstrap-slider plugin, which is a fork of the bootstrap-slider by Stefan Petre from eyecon.ru. The slider input offers these advanced features
Additional enhancements added for this widget (by Krajee):
Note: This extension depends on the kartik-v/yii2-widgets extension which in turn depends on the yiisoft/yii2-bootstrap extension. Check the composer.json for this extension's requirements and dependencies. Note: Yii 2 framework is still in active development, and until a fully stable Yii2 release, your core yii2-bootstrap packages (and its dependencies) may be updated when you install or update this extension. You may need to lock your composer package versions for your specific app, and test for extension break if you do not wish to auto update dependencies.
You can see detailed documentation and demonstration on usage of the extension.
The preferred way to install this extension is through composer.
$ php composer.phar require kartik-v/yii2-slider "*"
require section of your
use kartik\slider\Slider; echo Slider::widget([ 'sliderColor' => Slider::TYPE_DANGER, 'handleColor' => Slider::TYPE_DANGER, 'pluginOptions' => [ 'orientation' => 'horizontal', 'handle' => 'round', 'min' => 0, 'max' => 255, 'step' => 1 ], ]);
yii2-slider is released under the BSD 3-Clause License. See the bundled
LICENSE.md for details.