PHP code example of heimrichhannot-contao-components / fastclick

1. Go to this page and download the library: Download heimrichhannot-contao-components/fastclick 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/ */

    

heimrichhannot-contao-components / fastclick example snippets


$GLOBALS['TL_JAVASCRIPT']['fastclick'] = 'assets/fastclick/lib/fastclick.min.js|static';

$GLOBALS['TL_JAVASCRIPT']['fastclick'] = 'assets/components/fastclick/lib/fastclick.min.js|static';