A shim repositoy for jscroll as contao component.

2.3.9 2018-02-09 08:28 UTC

This package is not auto-updated.

Last update: 2024-12-17 19:29:51 UTC


README

Latest Stable Version Total Downloads

Shim repository for jScroll as Contao Component.

Install

composer require heimrichhannot-contao-components/jscroll

Config

Add the following to your config (keep keys to prevent double integration):

Contao 4

$GLOBALS['TL_JAVASCRIPT']['huh_components_jscroll'] = 'assets/jscroll/dist/jquery.jscroll.min.js|static';

Contao 3

$GLOBALS['TL_JAVASCRIPT']['huh_components_jscroll'] = 'assets/components/jscroll/dist/jquery.jscroll.min.js|static';

Internal

Update Library:

svn export https://github.com/pklauzinski/jscroll.git/trunk/jquery.jscroll.js ./dist --force
/usr/bin/yui-compressor dist/jquery.jscroll.js -o dist/jquery.jscroll.min.js