omnilight/yii2-sweetalert 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.98k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-03-11