Skip to content

Commit c1079ea

Browse files
committed
fix: doc update about available settings
1 parent 5c7653b commit c1079ea

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ install();
4848
| backdropColor | `new Color('rgba(0, 0, 0, 0.7)')` | `Color` | The color of the backdrop behind the drawer |
4949
| leftDrawerMode | `slide` | `Mode ('under' or 'slide')` | The color of the backdrop behind the drawer |
5050
| rightDrawerMode | `slide` | `Mode ('under' or 'slide')` | The color of the backdrop behind the drawer |
51+
| gestureMinDist | `10` | number | The min "swipe" distance to trigger the menu gesture |
52+
| leftSwipeDistance | `40` | number | The "left" zone size from where the gesture is recognized |
53+
| rightSwipeDistance | `40` | number | The "right" zone size from where the gesture is recognized |
54+
| topSwipeDistance | `40` | number | The "top" zone size from where the gesture is recognized |
55+
| bottomSwipeDistance | `40` | number | The "bottom" zone size from where the gesture is recognized |
56+
| leftOpenedDrawerAllowDraging | `true` | boolean | Allow dragging the opened menu |
57+
| rightOpenedDrawerAllowDraging | `true` | boolean | Allow dragging the opened menu |
58+
| topOpenedDrawerAllowDraging | `true` | boolean | Allow dragging the opened menu |
59+
| bottomOpenedDrawerAllowDraging | `true` | boolean | Allow dragging the opened menu |
5160

5261

5362

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export class Drawer extends GridLayout {
108108
public leftOpenedDrawerAllowDraging = true;
109109
public rightOpenedDrawerAllowDraging = true;
110110
public bottomOpenedDrawerAllowDraging = true;
111+
public topOpenedDrawerAllowDraging = true;
111112
public panGestureHandler: PanGestureHandler;
112113
public gestureEnabled = true;
113114

0 commit comments

Comments
 (0)