ayrozjlc/yii2-material-ripple AssetBundle for material-ripple

Yii2 Material Ripple

  1. Installation
  2. Usage

Latest Stable Version Total Downloads Latest Unstable Version License *** AssetBundle for material-ripple

Installation

Composer
composer require --prefer-dist "ayrozjlc/yii2-material-ripple:*"

or add

"ayrozjlc/yii2-material-ripple": "dev-master"

to the `require` section of your composer.json file.

Usage

in view (for example: `@app/views/layouts/main.php`)

// ...
use ayrozjlc\ripple\RippleAsset;
// ...
RippleAsset::register($this);

or add to your `assets/AppAsset.php`

public $depends = [
    // ...
    'ayrozjlc\ripple\RippleAsset',
];