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

Callback functions #12

@shshaw

Description

@shshaw

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!'); }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions