Topic: Binding after animation ends

ashchlor3465 free asked 4 years ago


I used the JQuery.One function as the guide suggested to fire an event when an animation ends.In the event I am changing a numeric variable and an array which are displayed on my web page but after changing the values in the event the displayed values on my web page remain as they were (even though the values did change)If I use the exact same code outside the event without the animation everything works fine.Is there a trick I\'m missing?
Start your code here
var element = angular.element($event.currentTarget);element.one(\'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend\', function(){item.selected=false;});element.addClass(\"animated fadeOutRight\")

Damian Gemza staff answered 4 years ago


Dear ashchlor3465, Let me ask you few questions: 1: Do you use MDB jQuery or MDB Angular? 2: Do you use jQuery functions in Angular? 3: Could you provide me reproductio steps to reproduce your case? Or some sample code which shows your problem? Without those informations I'm unable to help you well. Best Regards, Damian

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

  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags