jedocodes/contao-scrollcuejs-bundle

Integrates scrollCue.js for Contao content elements and form fields.

1.0.0 2024-04-13 17:11 UTC

This package is auto-updated.

Last update: 2024-05-13 17:31:41 UTC


README

Logo

#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.

Screenshot

ContaoBackend options