H5移動端自定義滾動條

項目還是用angularJs + ionic1.0做的。爲什麼要自定義滾動條呢? 原因:IOS 自帶的觸摸事件導致頁面上線滑動有空白。所以禁掉了默認的滑動事件: if(ionic.Platfrom.isIOS()){ document.querySelector('body').addEventListener('touchmove',function(event){ event.preventD
相關文章
相關標籤/搜索