Topic: Animate parameter onEnd is not triggering the callback function

webservices priority asked 8 months ago


Expected behavior
The onEnd parameter mentioned in the Animate docs should fire the callback function.

Actual behavior
The callback function does not fire. If I put an undefined function in it errors out but a function that is set does not trigger.

Resources (screenshots, code snippets etc.)
Take a look at my snippet that uses JS to animate a div.


webservices priority answered 8 months ago


I needed to add animate.init();. I thought I tested it with it already and it didn't work. But I decided to try again and that was the solution.



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.4.1
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: Yes
  • Provided link: Yes