panix / asset-bootstrap-notify
Asset bootstrap notify
Package info
github.com/andrtechno/asset-bootstrap-notify
Type:yii2-extension
pkg:composer/panix/asset-bootstrap-notify
dev-master
2019-04-22 12:57 UTC
Requires
- bower-asset/remarkable-bootstrap-notify: ^3.1.3
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-02-23 03:54:11 UTC
README
Asset for Yii2
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'
});
");