Comparing version 1.0.10 to 1.0.11
@@ -51,3 +51,3 @@ module.exports = { | ||
methods: { | ||
attach: function() { | ||
_attach: function() { | ||
if (!this.parentElement) { | ||
@@ -63,3 +63,3 @@ if (this.onBody) { | ||
}, | ||
detach: function() { | ||
_detach: function() { | ||
if (this.parentElement) { | ||
@@ -75,3 +75,3 @@ if (this.onBody) { | ||
}, | ||
setOpen: function() { | ||
_setOpen: function() { | ||
this.closing = false; | ||
@@ -88,3 +88,3 @@ this.opening = false; | ||
}, | ||
setClose: function() { | ||
_setClose: function() { | ||
this.closing = false; | ||
@@ -105,3 +105,3 @@ this.opening = false; | ||
} | ||
this.attach(); | ||
this._attach(); | ||
this.toggleAnimate = animate = animate !== false; | ||
@@ -117,3 +117,3 @@ this.opening = true; | ||
animate: animate, | ||
done: this.setOpen | ||
done: this._setOpen | ||
})); | ||
@@ -136,4 +136,4 @@ } else { | ||
done = function() { | ||
this.setClose(); | ||
return this.detach(); | ||
this._setClose(); | ||
return this._detach(); | ||
}; | ||
@@ -140,0 +140,0 @@ if (this.$animate && (this.leave != null)) { |
{ | ||
"name": "ceri", | ||
"description": "Custom Elements enRIched", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"homepage": "https://github.com/cerijs/", | ||
@@ -6,0 +6,0 @@ "author": { |
93307