aminkt/yii2-alert-widget
Composer 安装命令:
composer require aminkt/yii2-alert-widget
包简介
Advanced Alert widget for yii2 applications.
README 文档
README
How to install this widget:
Step1: Run below command
composer require aminkt/yii2-alert-widget
Or add flowing line to require part of
composer.json:"aminkt/yii2-alert-widget": "*",And then run bellow command in your composer :
Composer update aminkt/yii2-bootstrap-ajax-modal-widget
Step2: Add flowing lines in your application view file:
<?php echo \aminkt\widgets\alert\Alert::widget() ?>
Note: You can use below methods to set an alert:
\aminkt\widgets\alert\Alert::success("Title", "Message"); \aminkt\widgets\alert\Alert::error("Title", "Message"); \aminkt\widgets\alert\Alert::warning("Title", "Message"); \aminkt\widgets\alert\Alert::info("Title", "Message");
统计信息
- 总下载量: 333
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-11-20