我有这样的绑定触摸事件:
语言:lang-js:
render() {
return (
<div style={this.props.style} onTouchStart={this.touchStartHandler.bind(this)} ref="layer"
onTouchMove={this.touchMoveHandler.bind(this)}
onTouchEnd={this.touchEndHandler.bind(this)}>
{this.props.content}
</div>
)
}
它不起作用IEMobile10,我找到了swiper.jsbind 。我应该在函数中绑定事件吗?MSPointerDowntouchstartMSPointcomponentDidMount