derekisbusy / yii2-wow
Wow.js asset for Yii2 projects
Installs: 210
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-10-24 09:11:54 UTC
README
Wow assets for Yii2 projects
Installation
The preferred way to install this extension is through composer.
Either run
php composer require --prefer-dist derekisbusy/yii2-wow:dev-master
or add
"derekisbusy/yii2-wow": "dev-master"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it by adding it to your view :
use \derekisbusy\wow\WowAsset; WowAsset::register($this);
or by adding it to another assets dependencies list :
public $depends = [ 'derekisbusy\wow\WowAsset' ];
Then use wow in your view :
<div class="wow bounceInUp"> Content to Reveal Here </div>