Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 791 Bytes

JqueryNotify.md

File metadata and controls

38 lines (29 loc) · 791 Bytes

JqueryNotify

"Jquery Notify"

Installation

"loveorigami/yii2-notification-wrapper": "*",
"bower-asset/jquery.notify": "^1.0"

to the require section of your composer.json file.

Usage

use lo\modules\noty\Wrapper;

echo Wrapper::widget([
         'layerClass' => 'lo\modules\noty\layers\JqueryNotify',
         // default options
         'options' => [
             'theme' => 'default', // or 'dark-theme'
             'position' =>[
                 'x' => 'right',
                 'y' => 'top'
             ],
             'overlay' => false,
             'overflowHide' => false,
             'autoHide' => true,

        // and more for this library here https://github.com/CreativeDream/jquery.notify
    ],
]);