Topic: Animate parameter onEnd is not triggering the callback function
webservices pro premium priority asked a year 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 pro premium priority answered a year 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.4.1
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: Yes