Download the PHP package kriss/yii2-alert-notify without Composer
On this page you can find all versions of the php package kriss/yii2-alert-notify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-alert-notify
Yii2 Alert Notify
Yii2 Alert Notify
Installation
Usage Ajax Notify
-
Create a controller like:
AjaxController
, then add action: -
Write
generateNotifyInfo
in controller, this is example: -
Use Widget in View, like
layouts/main.php
- After refresh browser, you will see:
Ajax Notify generateInfo
Result Description
-
notifyOptions: see bootstrap-notify Options
-
notifySettings: see bootstrap-notify Settings
-
audioConfig:
-
url: audio src
-
count: audio play count
- delay: how long between audio play ended and play next, unit
ms
-
Usage Flush Notify
-
Use Widget in View, like
layouts/main.php
-
Add flush message in controller or service:
- After refresh browser, you will see:
All versions of yii2-alert-notify with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
~2.0.0
The package kriss/yii2-alert-notify contains the following files
Loading the files please wait ....