PHP code example of mervick / yii2-fastclick-asset

1. Go to this page and download the library: Download mervick/yii2-fastclick-asset library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mervick / yii2-fastclick-asset example snippets


<?
// ...

mervick\yii2\FastClickAsset::register($this);

<?
// ...

class AppAsset extends AssetBundle
{
    // ...

    public $depends = [
        // ...
        'mervick\yii2\FastClickAsset'
    ];
}