2017 © Pedro Peláez
 

yii2-extension yii2-noty

Wrapper of jquery plugin noty

image

eleiva/yii2-noty

Wrapper of jquery plugin noty

  • Friday, March 6, 2015
  • by eleiva
  • Repository
  • 2 Watchers
  • 2 Stars
  • 467 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 4 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

README

Wrapper of jquery plugin noty ( http://ned.im/noty/ ), (*1)

Installation

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)

Usage

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',
              ]);

The Versions

06/03 2015

dev-master

9999999-dev

Wrapper of jquery plugin noty

  Sources   Download

MIT

The Requires

 

by Victor Demin
by Eduardo Leiva

extension yii2 jquery notification notify