softcommerce/yii2-knob

This package is abandoned and no longer maintained. No replacement package was suggested.

jQuery Knob for Yii2.

Installs: 33 590

Dependents: 3

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 4

Open Issues: 0

Language:JavaScript

Type:yii2-extension

0.1 2014-06-11 11:36 UTC

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',
        ],
    ]
);