An Yii2 igrowl widget based on iGrowl jQuery plugin.
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.
The preferred way to install this extension is through Composer.
Either run
php composer.phar require uran1980/yii2-igrowl-widget "dev-master"
or add
"uran1980/yii2-igrowl-widget": "dev-master"
to the require section of your composer.json
To activate this widget add this line to you view or layout:
<?php echo uran1980\yii\widgets\igrowl\Igrowl::widget(); ?>
Available options: theme, for example:
<?php echo uran1980\yii\widgets\igrowl\Igrowl::widget([
'theme' => 'steadysets',
]); ?>
available themes are: steadysets (default), vicons, linecons and feather
Ivan Yakovlev, e-mail: uran1980@gmail.com
Comments