heimrichhannot-contao-components / imagesloaded
A shim repositoy for imagesloaded as contao component.
Installs: 6 629
Dependents: 2
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-11-04 08:57:10 UTC
README
Shim repository for imagesLoaded as Contao Component.
Install
composer require heimrichhannot-contao-components/imagesloaded
Config
Add the following to your config (keep keys to prevent double integration):
Contao 4
$GLOBALS['TL_JAVASCRIPT']['huh_components_imagesloaded'] = 'assets/masonry/imagesloaded.pkgd.min.js|static';
Contao 3
$GLOBALS['TL_JAVASCRIPT']['huh_components_imagesloaded'] = 'assets/components/masonry/imagesloaded.pkgd.min.js|static';
Internal
Update Library:
svn export https://github.com/desandro/imagesloaded.git/trunk/imagesloaded.pkgd.min.js ./dist --force
svn export https://github.com/desandro/imagesloaded.git/trunk/imagesloaded.pkgd.js ./dist --force