diff --git a/src/gestures/slide-edge-gesture.ts b/src/gestures/slide-edge-gesture.ts index 3f4c54e66a3..7ea0355ce2b 100644 --- a/src/gestures/slide-edge-gesture.ts +++ b/src/gestures/slide-edge-gesture.ts @@ -14,7 +14,7 @@ export class SlideEdgeGesture extends SlideGesture { constructor(plt: Platform, element: HTMLElement, opts: any = {}) { defaults(opts, { - edge: 'left', + edge: 'start', maxEdgeStart: 50 }); super(plt, element, opts); @@ -29,7 +29,7 @@ export class SlideEdgeGesture extends SlideGesture { switch (value) { case 'start': return isRTL ? 'right' : 'left'; case 'end': return isRTL ? 'left' : 'right'; - default: value; + default: return value; } }); }