Download the PHP package yii2mod/yii2-bootstrap-notify without Composer
On this page you can find all versions of the php package yii2mod/yii2-bootstrap-notify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yii2mod/yii2-bootstrap-notify
More information about yii2mod/yii2-bootstrap-notify
Files in yii2mod/yii2-bootstrap-notify
Package yii2-bootstrap-notify
Short Description Alert widget based on Bootstrap Notify extension {@link http://bootstrap-notify.remabledesigns.com/)
License MIT
Informations about the package yii2-bootstrap-notify
Yii2 Notify Widget
Notify widget based on Bootstrap Notify
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json.
Usage
Alert widget renders a message from session flash. All flash messages are displayed in the sequence they were assigned using setFlash. You can set message as following:
1) Set the message in your action, for example:
Also, you can set multiple messages as follows:
2) Simply add widget to your layout as follows:
You can render your own message without the session flash as following:
Alert Options
You can find them on the options page
Support us
Does your business depend on our contributions? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.
All versions of yii2-bootstrap-notify with dependencies
yiisoft/yii2-bootstrap Version *
bower-asset/remarkable-bootstrap-notify Version *
bower-asset/animate.css Version *