this.sv = new cc.ScrollView(); // 创建scrollview对象
this.sv.setDirection(this.direction); // 设置scrollview滑动方向
this.sv.setTouchEnabled(true); // 开始点击事件
this.sv.setBounceable(this.isBounce); // 是否允许回弹
this.sv.setViewSize(this.size); // 设置可视区域的大小
this.sv.setAnchorPoint(cc.p(0, 0)); // 设置scrollview的锚点
this.sv.x = 0; // 初始化scrollview的坐标X
this.sv.y = 0; // 初始化scrollview的坐标Y
this.addChild(this.sv);
this.setContainerSize(this.cellSize); // 设置滚动区域大小
this.container = this.sv.getContainer(); // 获取滑动区域对象
this._setLen(); // 获取每页的大小,在滚动方向
自己用cc.ScrollView()去写一个pageView,但是发现在PC端运行的时候,会有一个惯性滑动,但是在网页上,这个惯性滑动又不存在,如何在PC端禁止scrollview的惯性滑动?