omnilight/yii2-sweetalert
最新稳定版本:1.0.4
Composer 安装命令:
composer require omnilight/yii2-sweetalert
包简介
SweetAlert asset for Yii2 framework
关键字:
README 文档
README
SweetAlert asset for Yii2 framework
Install
The preferred way to install this extension is through composer.
Add composer dependence in composer.json
"omnilight/yii2-sweetalert": "1.0.*"
and run composer update
Usage
Just register SweetAlert asset in your view as:
use omnilight\assets\SweetAlertAsset;
SweetAlertAsset::register($this);
and you are ready to use SweetAlert JS code:
swal("Hello world!");
License
Extension is released under the MIT License. See the bundled LICENSE.md for details.
统计信息
- 总下载量: 10.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-03-11