You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All drawers are optional, and can be configured individually.
10
8
@@ -62,3 +60,11 @@ For the available options check [the source of defaultOptions](https://github.co
62
60
63
61
The component will only enable drawers that have contents in them, so if you only need a left and a right side drawer, you can just remove the top and bottom slots and it will work as expected.
64
62
63
+
### Opening a drawer from code
64
+
65
+
Assign a ref to the Drawer component
66
+
```xml
67
+
<MultiDrawerref="drawer" />
68
+
```
69
+
70
+
And use `this.$refs.drawer.open(side)` where `side` is a string: `left`, `right`, `top` or `bottom`.
0 commit comments