We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34080f8 commit afad4b8Copy full SHA for afad4b8
src/mobilebone.js
@@ -253,12 +253,13 @@
253
});
254
if (!store[pageid]) {
255
var animateEventName = isWebkit? webkitkey: animationkey;
256
+ // if it's the out element, hide it when 'animationend'
257
index && pageInto.addEventListener(animateEventName, function() {
258
if (this.classList.contains("in") == false) {
259
this.style.display = "none";
260
}
261
-
262
+ // bind animation events
263
if (typeof animition == "string" && params_in.root[animition]) {
264
pageInto.addEventListener(animateEventName, function() {
265
params_in.root[animition](this, this.classList.contains("in")? "into": "out");
0 commit comments