Comparing version 1.0.0 to 1.0.1
@@ -37,2 +37,7 @@ import { Touch, Scroll, Direction, Movement } from './touch'; | ||
get isAvailable() | ||
{ | ||
return this.vm.$device.isMobile; | ||
} | ||
hire() | ||
@@ -74,4 +79,7 @@ { | ||
for(let child of vm.$children) { | ||
if(child._name === '<EwaContainer>') { | ||
slides = slides.concat(child); | ||
if(child.isContainer) { | ||
var style = window.getComputedStyle(child.$el); | ||
if(style.display !== 'none') { | ||
slides = slides.concat(child); | ||
} | ||
} else { | ||
@@ -260,2 +268,6 @@ slides = this.getSlides(child, slides, depth + 1); | ||
{ | ||
if(!this.isAvailable) { | ||
return; | ||
} | ||
this.preventZoom(event); | ||
@@ -274,2 +286,6 @@ | ||
{ | ||
if(!this.isAvailable) { | ||
return; | ||
} | ||
let currentTouch = new Touch(event); | ||
@@ -294,2 +310,6 @@ | ||
{ | ||
if(!this.isAvailable) { | ||
return; | ||
} | ||
if(this.touchStart === null) { | ||
@@ -326,2 +346,6 @@ return; | ||
{ | ||
if(!this.isAvailable) { | ||
return; | ||
} | ||
if(this.touchStart !== null || this.touchEnd !== null) { | ||
@@ -328,0 +352,0 @@ return; |
import * as api from './api'; | ||
import mixins from './mixins'; | ||
import { Store } from './store'; | ||
export { api, Store }; | ||
export { api, Store, mixins }; |
{ | ||
"name": "ewa-ui", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "index.js", | ||
"license": "MIT" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
35171
27
781