A shim repositoy for jscroll as contao component.
Installs: 6 921
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:contao-component
Requires
This package is not auto-updated.
Last update: 2024-12-17 19:29:51 UTC
README
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