vue-virtual-scroll-list icon indicating copy to clipboard operation
vue-virtual-scroll-list copied to clipboard

[Feature Request] Provide #before and #after slots for extra customization

Open cmitz opened this issue 2 years ago • 0 comments

Describe the feature request

The documentation doesn't specify this, but in the source code using a #default slot is clearly supported. I think it would be great if that was documented.

Example

<VirtualList
  data-key="id"
  :data-sources="epcisEvents"
  :data-component="EmptyComponent"
  :keeps="6"
>
  <template #before>
    <span>Something</span>
  </template>

  <template #item="{ index, item }">
    <MyComponent
      :list-item="item"
      @custom-listener
    />
  </template>
</VirtualList>

cmitz avatar Apr 04 '23 10:04 cmitz