vue3-dragable-grid-layout icon indicating copy to clipboard operation
vue3-dragable-grid-layout copied to clipboard

doco example refers to `{{ item.id }}` which is not actually rendered

Open abulka opened this issue 2 months ago • 1 comments

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.

abulka avatar Dec 15 '24 03:12 abulka