An Yii2 igrowl widget based on iGrowl jQuery plugin., (*1)
What is iGrowl?
iGrowl is a lightweight jQuery plugin that generates growl-like notifications with
an emphasis on icons. Alerts are fully responsive and CSS animations are used
to provide optimal performance., (*2)
Installation
Composer
The preferred way to install this extension is through Composer., (*3)
Either run, (*4)
php composer.phar require uran1980/yii2-igrowl-widget "dev-master"
or add, (*5)
"uran1980/yii2-igrowl-widget": "dev-master"
to the require section of your composer.json
, (*6)
Usage
To activate this widget add this line to you view or layout:, (*7)
<?php echo uran1980\yii\widgets\igrowl\Igrowl::widget(); ?>
Available options: theme, for example:, (*8)
<?php echo uran1980\yii\widgets\igrowl\Igrowl::widget([
'theme' => 'steadysets',
]); ?>
available themes are: steadysets (default), vicons, linecons and feather, (*9)
Author
Ivan Yakovlev, e-mail: uran1980@gmail.com, (*10)