uran1980/yii2-igrowl-widget

An Yii2 igrowl widget based on iGrowl jQuery plugin.

Installs: 18 207

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Language:CSS

Type:yii2-extension

0.0.1 2015-03-07 00:00 UTC

This package is auto-updated.

Last update: 2024-04-13 03:28:00 UTC


README

An Yii2 igrowl widget based on iGrowl jQuery plugin.

What is iGrowl?

iGrowl is a lightweight jQuery plugin that generates growl-like notifications with an emphasis on icons. Alerts are fully responsive and CSS animations are used to provide optimal performance.

Installation

Composer

The preferred way to install this extension is through Composer.

Either run

php composer.phar require uran1980/yii2-igrowl-widget "dev-master"

or add

"uran1980/yii2-igrowl-widget": "dev-master"

to the require section of your composer.json

Usage

To activate this widget add this line to you view or layout:

<?php echo uran1980\yii\widgets\igrowl\Igrowl::widget(); ?>

Available options: theme, for example:

<?php echo uran1980\yii\widgets\igrowl\Igrowl::widget([
    'theme' => 'steadysets',
]); ?>

available themes are: steadysets (default), vicons, linecons and feather

Author

Ivan Yakovlev, e-mail: uran1980@gmail.com