dev-master
9999999-devWrapper of jquery plugin noty
MIT
The Requires
- yiisoft/yii2 *
- bower-asset/noty 2.3.4
- bower-asset/animate.css 3.2.3
by Victor Demin
by Eduardo Leiva
extension yii2 jquery notification notify
Wrapper of jquery plugin noty
Wrapper of jquery plugin noty ( http://ned.im/noty/ ), (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist eleiva/yii2-noty "*"
or add, (*4)
"eleiva/yii2-noty": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
use eleiva\noty\Noty; echo Noty::widget([ 'text' => 'Hi! Looks good!', 'type' => Noty::INFORMATION, 'useAnimateCss' => true, 'clientOptions' => [ 'timeout' => 5000, 'layout' => 'top', 'dismissQueue' => true, 'theme' => 'relax', 'animation' => [ 'open' => 'animated bounceInLeft', 'close' => 'animated bounceOutLeft', 'easing' => 'swing', 'speed' => 500 ] ] ]);
Or simply, (*7)
use eleiva\noty\Noty; echo Noty::widget([ 'text'=> 'Helloo WORLD', ]);
Wrapper of jquery plugin noty
MIT
extension yii2 jquery notification notify