Skip to content

.complete is called twice. Before and after a transition #135

@dan-lee

Description

@dan-lee

My .complete callback is called before the transition and after.
I have to use this workaround to use it under current circumstances:

var c = 0;
el.transition({
  // ...
  complete: function() {
    if (++c % 2 == 0) {
      // ...
    }
  }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions