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

How can itemComponent emit event?

Open JoyTiann opened this issue 3 years ago • 1 comments

<virtual-list ref="basicVsl" style="height:300px; overflow-y: auto; margin-top: 10px;" :item-class="'scroll-item'" :data-key="'id'" :data-sources="basicSourceList" :data-component="itemComponent" :keeps="20" @scroll="onBasicScroll" @change="change" // it not work />

JoyTiann avatar Feb 17 '22 06:02 JoyTiann

itemComponent emit like this this.$parent.$parent.$emit("xxx");

jimmyy512 avatar Mar 24 '22 09:03 jimmyy512