softcommerce / yii2-knob
jQuery Knob for Yii2.
Installs: 33 564
Dependents: 3
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 4
Open Issues: 0
Language:JavaScript
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2022-11-22 13:41:18 UTC
README
!!! Not maintained anymore !!!
Yii2 widget for jQuery Knob plugin (http://anthonyterrien.com/knob/)
Usage:
echo softcommerce\knob\Knob::widget([ 'name' => 'animated_knob_with_icon', 'value' => 62, 'icon' => '<span class="glyphicon glyphicon-flash"></span>', 'options' => [ 'data-min' => '0', 'data-max' => '100', 'data-width' => '100', 'data-height' => '100', ], 'knobOptions' => [ 'readOnly' => true, 'thickness' => '.25', 'dynamicDraw' => true, 'fgColor' => '#9fc569', ], ] );