From 99c3d3bb8d2e47b553b54b8605f3b98be5b996d0 Mon Sep 17 00:00:00 2001 From: Anahita Tiwary Date: Tue, 16 Jan 2024 21:20:39 +0530 Subject: [PATCH] style to slots --- .../src/components/RecycleScroller.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/vue-virtual-scroller/src/components/RecycleScroller.vue b/packages/vue-virtual-scroller/src/components/RecycleScroller.vue index 40680cb6..5093c320 100644 --- a/packages/vue-virtual-scroller/src/components/RecycleScroller.vue +++ b/packages/vue-virtual-scroller/src/components/RecycleScroller.vue @@ -13,6 +13,7 @@ v-if="$slots.before" ref="before" class="vue-recycle-scroller__slot" + :style="beforeStyle" > { + + } + }, + + afterStyle:{ + type: Object, + default: ()=>{ + + } + } }, emits: [