dev-master
9999999-devWidget to output all flash messages as growls.
BSD-3-Clause
The Requires
by Derek Gifford
extension yii2
1.0.0
1.0.0.0Widget to output all flash messages as growls.
BSD-3-Clause
The Requires
by Derek Gifford
extension yii2
Wallogit.com
2017 © Pedro Peláez
Widget to output all flash messages as growls.
Widget to output flash messages as growls., (*2)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
composer require --prefer-dist derekisbusy/yii2-flash-growl "1.*"
or add, (*5)
"derekisbusy/yii2-flash-growl": "1.*"
to the require section of your composer.json file., (*6)
Once the extension is installed, simply use it in your code by :, (*7)
// add flash messages under category growl... Yii::$app->getSession()->addFlash('growl', [ 'type' => 'success', 'duration' => 1500, 'icon' => 'fa fa-success', 'title' => 'Success!', 'message' => 'Action has been performed.', ]); // Display growls in your view... echo \derekisbusy\growl\FlashGrowlWidget::widget(); // Or render the _growl view in the controller if you only need to render the growls... return $this->renderAjax('@derekisbusy/yii2-growl/_growl');
Widget to output all flash messages as growls.
BSD-3-Clause
extension yii2
Widget to output all flash messages as growls.
BSD-3-Clause
extension yii2