ham3r/yii2-spinkit
Composer 安装命令:
composer require ham3r/yii2-spinkit
包简介
SpinKit asset for Yii2 framework (https://github.com/tobiasahlin/SpinKit)
README 文档
README
Allows to use SpinKit (https://github.com/tobiasahlin/SpinKit) CSS library inside Yii2 framework environment.
Installation
Use Composer to install this extension. Bower dependencies used by this asset will be automatically installed.
composer require ham3r/yii2-spinkit:dev-master
Usage
Register directly onto the view:
use ham3r\spinkit\SpinKitAsset; SpinKitAsset::register($this);
Or use as another asset dependency:
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>
License
Project is licensed under MIT. Please see License File for more information.
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-25