Skip to content

Commit 3b32b8e

Browse files
committed
fix(sliding-gesture): missing return value
1 parent 7bcf5a0 commit 3b32b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gestures/slide-edge-gesture.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class SlideEdgeGesture extends SlideGesture {
1414

1515
constructor(plt: Platform, element: HTMLElement, opts: any = {}) {
1616
defaults(opts, {
17-
edge: 'left',
17+
edge: 'start',
1818
maxEdgeStart: 50
1919
});
2020
super(plt, element, opts);
@@ -29,7 +29,7 @@ export class SlideEdgeGesture extends SlideGesture {
2929
switch (value) {
3030
case 'start': return isRTL ? 'right' : 'left';
3131
case 'end': return isRTL ? 'left' : 'right';
32-
default: value;
32+
default: return value;
3333
}
3434
});
3535
}

0 commit comments

Comments
 (0)