panix/asset-bootstrap-notify

Asset bootstrap notify

dev-master 2019-04-22 12:57 UTC

This package is auto-updated.

Last update: 2024-11-23 01:21:22 UTC


README

Asset for Yii2

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads Latest Unstable Version License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist panix/asset-bootstrap-notify "*"

or add

"panix/asset-bootstrap-notify": "*"

to the require section of your composer.json file.

Add to your view

\panix\asset\bootstrap\notify\Asset::register($this);

$this->registerJs("
    $.notify({
        // options
        message: 'Hello World' 
    },{
        // settings
        type: 'danger'
    });
");

links