We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d4f67e commit e2e6789Copy full SHA for e2e6789
app/components/example/multi-drawer.vue
@@ -12,14 +12,15 @@
12
@tap="close()"
13
/>
14
15
- <template v-for="side in computedSidesEnabled">
+ <template v-for="(side,index) in computedSidesEnabled">
16
<!-- Drawer Content -->
17
<GridLayout
18
@layoutChanged="onDrawerLayoutChange(side)"
19
@tap="noop"
20
@pan="onDrawerPan(side, $event)"
21
:ref="`${side}Drawer`"
22
:style="computedDrawerStyle(side)"
23
+ :key="index"
24
>
25
<slot :name="side" />
26
</GridLayout>
@@ -28,6 +29,7 @@
28
29
v-show="computedShowSwipeOpenTrigger(side)"
30
v-bind="computedSwipeOpenTriggerProperties(side)"
31
@pan="onOpenTriggerPan(side, $event)"
32
33
34
</template>
35
0 commit comments