codezeen/yii2-fastclick

FastClick Asset Bundle for Yii2

Installs: 13 770

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0.0 2015-05-09 19:10 UTC

This package is not auto-updated.

Last update: 2024-04-13 15:01:16 UTC


README

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.