MOBILE-3814 swipe: Limit angle on gesture
parent
ae2f087856
commit
0097b78963
|
@ -56,7 +56,9 @@ export class CoreSwipeNavigationDirective implements AfterViewInit, OnDestroy {
|
||||||
el: this.element,
|
el: this.element,
|
||||||
gestureName: 'swipe',
|
gestureName: 'swipe',
|
||||||
threshold: 10,
|
threshold: 10,
|
||||||
|
direction: 'x',
|
||||||
gesturePriority: 10,
|
gesturePriority: 10,
|
||||||
|
maxAngle: 20,
|
||||||
canStart: () => this.enabled,
|
canStart: () => this.enabled,
|
||||||
onStart: () => {
|
onStart: () => {
|
||||||
style.transition = '';
|
style.transition = '';
|
||||||
|
|
Loading…
Reference in New Issue