ezoterik / yii2-respond-asset
Respond.js asset for Yii2 framework
Package info
github.com/ezoterik/yii2-respond-asset
Type:yii2-extension
pkg:composer/ezoterik/yii2-respond-asset
1.0.0
2016-03-09 15:53 UTC
Requires
- bower-asset/respond: *
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-02-22 10:11:17 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist ezoterik/yii2-respond-asset "*"
or add
"ezoterik/yii2-respond-asset": "*"
to the require section of your composer.json file.
Usage
Register Respond.js in your views with:
ezoterik\respondAsset\RespondAsset::register($this);
Or set a dependancy in your AppAsset with:
public $depends = [ // ... 'ezoterik\respondAsset\RespondAsset', // ... ];