nevermnd/yii2-hinter

Bootstrap alert hinter.js widget for Yii2

v1.2.2 2017-01-16 17:48 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:56:31 UTC


README

Build Status

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