Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit 163a279

Browse files
committed
defaultsAction & source to flick
1 parent dcef202 commit 163a279

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/flick.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
exposes: [
6868
'flick'
6969
],
70+
defaultActions: {
71+
'flick': 'none'
72+
},
7073
down: function(inEvent) {
7174
if (inEvent.isPrimary && !this.pointerId) {
7275
this.pointerId = inEvent.pointerId;
@@ -122,7 +125,8 @@
122125
angle: a,
123126
majorAxis: ma,
124127
pointerType: inEvent.pointerType,
125-
pointerId: inEvent.pointerId
128+
pointerId: inEvent.pointerId,
129+
_source: 'flick'
126130
});
127131
this.target.dispatchEvent(e);
128132
}

0 commit comments

Comments
 (0)