Skip to content
weison-techPublic
forked from layui/layer

About

yii2 layer

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

174 Commits

Folders and files

Repository files navigation

Alert Widget for Yii 2

Alert widget based on layer

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist weison-tech/yii2-layer "*"

or add

"weison-tech/yii2-layer": "*"

to the require section of your composer.json.

Usage

Update your AppAsset

<?php

namespace app\assets; 
  
use yii\web\AssetBundle;
  
class AppAsset extends AssetBundle
{
    ...
    public $depends = [
        ...
        'weison\alert\LayerAsset', // Import layer alert's js and css
        ...
    ];
    ...
}

About

yii2 layer

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages