Skip to content

codezeen/yii2-fastclick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Yii2 FastClick Asset

FastClick Asset Bundle for Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist codezeen/yii2-fastclick "*"

or add

"codezeen/yii2-fastclick": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, use the following code in view to register asset :

<?= \codezeen\yii2\fastclick\FastClickAsset::register($this); ?>

Or used as dependencies in asset bundle

class AppAsset extends AssetBundle
{
    public $depends = [
        // ...
        'codezeen\yii2\fastclick\FastClickAsset',
        // ...
    ];
}

More Information

Please, check https://github.com/ftlabs/fastclick for more information about fastclick.js.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages