Allows to use SpinKit (https://github.com/tobiasahlin/SpinKit) CSS library inside Yii2 framework environment.
Use Composer to install this extension. Bower dependencies used by this asset will be automatically installed.
composer require ham3r/yii2-spinkit:dev-master
use ham3r\spinkit\SpinKitAsset;
SpinKitAsset::register($this);use yii\web\AssetBundle;
class SomeAsset extends AssetBundle {
/** dependencies */
public $depends = [
'ham3r\spinkit\SpinKitAsset'
];
...
}
Then you can use CSS classes defined by this library:
<div class="sk-rotating-plane"></div>Project is licensed under MIT. Please see License File for more information.