Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Callback functions #12

Open
shshaw opened this issue Aug 19, 2016 · 0 comments
Open

Callback functions #12

shshaw opened this issue Aug 19, 2016 · 0 comments

Comments

@shshaw
Copy link

shshaw commented Aug 19, 2016

The ability to have a complete callback when the animation is done would be quite handy. start could also be useful.

var flip = new FLIP({
  element: target,
  easing: function (t) {
    return t * t;
  },
  start: function(){ console.log('animating is starting'); },
  complete: function(){ console.log('animation is done!'); }
});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant