arooly pro asked 6 years ago


How can I adjust the delay of an animated element, for example this h3. <h3 className="animated bounceInUp">Hello</h3>

Jakub Strebeyko staff answered 6 years ago


Hi there arooly, Thanks for reaching out! To have the data- attributes considered when using animations, you need something that you helped us realize the documentation is lacking, namely - the wowjs npm. Once you have it, it's really easy - just make sure that the component to be animated has
import WOW from 'wowjs';
...
componentDidMount() {
  new WOW.WOW().init();
}
Then you apply the desired animations through className and then tweak it using the data- attributes. And hey - thanks again. Best, Kuba

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags