simialbi/yii2-widget-growl
Composer 安装命令:
composer require simialbi/yii2-widget-growl
包简介
A widget to generate growl based notifications
关键字:
README 文档
README
A widget that turns standard Bootstrap alerts into "Growl-like" notifications. This widget is a wrapper for the Bootstrap Growl plugin by ciedooy.
This extension is a bootstrap 4 port of Kartik Visweswaran's great extension: yii2-widget-growl
Installation
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require --prefer-dist simialbi/yii2-widget-growl
or add
"simialbi/yii2-widget-growl": "*"
to the require section of your composer.json
Usage
<?php use simialbi\yii2\growl\Growl; echo Growl::widget([ 'type' => Growl::TYPE_SUCCESS, 'icon' => 'fa fa-exclamation-triangle', 'title' => 'Note', 'body' => 'This is a successful growling alert.' ]);
Example Usage
License
yii2-widget-growl is released under MIT license. See bundled LICENSE for details.
统计信息
- 总下载量: 113
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-13