jedocodes / contao-scrollcuejs-bundle
Integrates scrollCue.js for Contao content elements and form fields.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:contao-bundle
Requires
- php: >=8.1
- contao/core-bundle: ^5.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
README
#Contao scrollCue.js
Integrate scrollCue.js for a scroll animation of a Contao content element.
Simply enable the js_scrollcuejs
template in your page layout.
Create a custom template if you want to set custom scrollCue.js options. See the documentation for more details. May be also add
####Add custom animation types
/********************
* foo
*********************/
[data-cue="foo"],[data-cues="foo"]>*{
opacity: 0;
}
@keyframes foo {
from{
...
}
to{
opacity : 1;
...
}
}
See scrollCue.