light / yii2-layer
yii2 asset plugin for layer
Installs: 1 716
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 1
Open Issues: 0
Language:CSS
Requires
- php: >=5.4.0
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-10-08 19:18:24 UTC
README
Install
add light/yii2-layer
to composer.json
$ composer install
or
$ composer require light/yii2-layer=*
Usage
in view:
use light\assets\LayerAsset;
LayerAsset::register($this);
and for mobile, you can do like this:
use light\asset\LayerMobielAsset;
LaryerMobileAsset::regiter($this);
Test
TBD