vue3-dragable-grid-layout
vue3-dragable-grid-layout copied to clipboard
doco example refers to `{{ item.id }}` which is not actually rendered
The first example shown in the official documentation https://www.npmjs.com/package/@noction/vue-draggable-grid refers to {{ item.id }}
but this does not actually render.
<template>
<grid-layout
v-model:layout="layout"
:col-num="12"
:row-height="30"
@noc-resize="handleResize"
@noc-move="handleMove"
@noc-move-end="handleMoveEnd"
>
<template #item="{ item }">
{{ item.id }}
</template>
</grid-layout>
</template>
Why have {{ item.id }}
in the example when it is not rendered - all I see are blank grid items.