panix / asset-bootstrap-notify
Asset bootstrap notify
Installs: 192
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/remarkable-bootstrap-notify: ^3.1.3
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-11-23 01:21:22 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'
});
");