Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 493 Bytes

Toastr.md

File metadata and controls

32 lines (23 loc) · 493 Bytes

Toastr

Installation

"loveorigami/yii2-notification-wrapper": "*",
"bower-asset/toastr": "^2.1"

to the require section of your composer.json file.

Usage

use lo\modules\noty\Wrapper;

echo Wrapper::widget([
    'layerClass' => 'lo\modules\noty\layers\Toastr',
    // default options
    'options' => [
       'closeButton' => false,
       'debug' => false,
       'newestOnTop' => true,

        // and more for this library...
    ],
]);