angularjs $swipe調用方法

angularjs 的$swipe,用法:
$swipe.bind(angular.element(document),{ start:
function(pos) { }, move: function(pos) { console.log('move'); }, end: function(pos) { endPoint = pos; }, cancel: function(pos) { } }, ['touch']);原本想用它來實現滾動加載的,可是它內部對move做了處理,不少時候觸發不了,也就不了了之了,可是好歹弄清楚了$swipe的調用方法,網上其它地方還真沒查到,不知道是太簡單了仍是怎麼地。。。
相關文章
相關標籤/搜索