Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 486 Bytes

Toastr.md

File metadata and controls

31 lines (22 loc) · 486 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\widgets\Wrapper;

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

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