ekaragodin / yii2-bootstrap-slider
Bootstrap slider control
Installs: 6 383
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 2
Language:CSS
Type:yii2-extension
Requires
This package is auto-updated.
Last update: 2024-11-09 14:34:57 UTC
README
Bootstrap slider control
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist ekaragodin/yii2-bootstrap-slider "*"
or add
"ekaragodin/yii2-bootstrap-slider": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= Slider::widget([ 'name' => 'price', 'value' => $model->price, 'options' => [ 'data' => [ 'slider-min' => 100, 'slider-max' => 1000, ], ], ]) ?>