Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 708 Bytes

BootstrapNotify.md

File metadata and controls

36 lines (27 loc) · 708 Bytes

Bootstrap Notify

"Bootstrap Notify"

Installation

"loveorigami/yii2-notification-wrapper": "*",
"bower-asset/remarkable-bootstrap-notify": "^3.1",

to the require section of your composer.json file.

Usage

use lo\modules\noty\Wrapper;

echo Wrapper::widget([
    'layerClass' => 'lo\modules\noty\layers\BootstrapNotify',
    // default options
    'options' => [
        'newest_on_top' => false,
        'showProgressbar' => true,
        'placement' => [
            'from' => 'top',
            'align' => 'right'
        ]

        // and more for this library here https://github.com/mouse0270/bootstrap-notify
    ],
]);