nevermnd / yii2-hinter
Bootstrap alert hinter.js widget for Yii2
v1.2.2
2017-01-16 17:48 UTC
Requires
- bower-asset/hinter.js: ^1.0.0
- yiisoft/yii2: ~2.0.4
- yiisoft/yii2-bootstrap: ~2.0.0
Requires (Dev)
- phpunit/phpunit: ~4.0.0
This package is not auto-updated.
Last update: 2024-12-21 20:41:23 UTC
README
Yii2 hinter.js widget.
Automatically shows a nice hint with messages flashed into session on page load.
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require nevermnd/yii2-hinter:^1.1
or add
"nevermnd/yii2-hinter": "^1.1"
to the require
section of your composer.json
file.
Usage
<?= Hinter::widget([ 'errorMessageParam' => 'error', 'successMessageParam' => 'success', 'containerSelector' => '#main-div' ]); ?>
For complete documentation, visit the hinter.js page.
License
Licensed under the incredibly permissive MIT license