gietos/yii2-ionicons
最新稳定版本:v2.0.3
Composer 安装命令:
composer require gietos/yii2-ionicons
包简介
Asset Bundle for Yii2 with Ionicons
关键字:
README 文档
README
Asset Bundle for Yii2 with Ionicons http://ionicons.com/
Installation
The suggested installation method is via composer:
composer require gietos/yii2-ionicons
Or add in composer.json:
{
"require": {
"gietos/yii2-ionicons": "2.0.*"
}
}
Usage
In view
gietos\yii\ionicons\AssetBundle::register($this);
or as dependency in your asset bundle
class AppAsset extends AssetBundle { public $depends = [ '\gietos\yii\ionicons\AssetBundle' ]; }
Helper
use gietos\yii\ionicons\Ion; echo Ion::icon('heart'); // <i class="ion ion-heart"></i>
统计信息
- 总下载量: 1.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-02