Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.longTapTimeout = null;
this.singleTapTimeout = null;
this.swipeTimeout = null;
this.x1 = this.x2 = this.y1 = this.y2 = null;
this.preTapPosition = { x: null, y: null };
// Disable taps after longTap
this.afterLongTap = false;
this.afterLongTapTimeout = null;
this._handleTouchStart = this._handleTouchStart.bind(this)
this._handleTouchMove = this._handleTouchMove.bind(this)
this._handleTouchCancel = this._handleTouchCancel.bind(this)
this._handleTouchEnd = this._handleTouchEnd.bind(this)
this.css = getHost(this).css
}
install() {
this.css = getHost(this).css
}
install() {
this.css = getHost(this).css
}
css() {
return style + getHost(this).css()
}
install() {
//@ts-ignore 不是 slot,所以需要共享一下 host 的 css
this.css = getHost(this).constructor.css
}
css() {
return getHost(this).css() + css
}
css() {
let pCss = getHost(this).css
return style + ' ' + pCss()
}