Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of calling private
delay_play
directly when the opening ani…
…mation has finished, a new event `"openingDone"` is triggered on the instance. The `delay_play` then becomes a callback for the event bound one level up the DOM to the overlay node (instance's parent). This way it is cancellable on the instance either by using event's `.stopPropagation()` or by returning false from the handler. Fixes #65
- Loading branch information