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.
php composer.phar require uran1980/yii2-igrowl-widget "dev-master"
to the require section of your
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