-
元素屬性scrollTop scrollLeft查看全部
-
jQ事件對象 pageX() pageY()查看全部
-
初始化滑塊功能查看全部
-
_initDomEvent 方法查看全部
-
實(shí)現(xiàn)思路查看全部
-
圖示2查看全部
-
滑動(dòng)比率圖查看全部
-
交互初始化2查看全部
-
交互初始化操作的實(shí)現(xiàn)查看全部
-
getMaxSliderPosition() return self.$bar.height()-self.$slider.height(); scrollTo self.$cont.scrollTop(positionVal);查看全部
-
getMaxScrollPosition() //內(nèi)容滾動(dòng) // $cont[0].scrollHeight-$cont.height()查看全部
-
_initSliderDragEvent:function(){} // 下面有 mousemoveHandler(e){} // mousedown mousemove mouseup return self ;查看全部
-
_initDomEvent:function(){ this._bindContScroll(); } //查看全部
-
getSliderPosition() 需要 getMaxSliderPosition() 和getMaxScrollPosition()查看全部
-
_bindContScroll:function(){} // 處理小滑塊滾動(dòng) sliderEL.style.top=self.getSliderPosition()+"px"; //css. return self;查看全部
舉報(bào)
0/150
提交
取消