Skip to content

Commit

Permalink
style to slots
Browse files Browse the repository at this point in the history
  • Loading branch information
anahita24 committed Jan 16, 2024
1 parent 0f2e362 commit 99c3d3b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/vue-virtual-scroller/src/components/RecycleScroller.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
v-if="$slots.before"
ref="before"
class="vue-recycle-scroller__slot"
:style="beforeStyle"
>
<slot
name="before"
Expand Down Expand Up @@ -69,6 +70,7 @@
v-if="$slots.after"
ref="after"
class="vue-recycle-scroller__slot"
:style="afterStyle"
>
<slot
name="after"
Expand Down Expand Up @@ -190,6 +192,20 @@ export default {
type: [String, Object, Array],
default: '',
},
beforeStyle:{
type: Object,
default: ()=>{
}
},
afterStyle:{
type: Object,
default: ()=>{
}
}
},
emits: [
Expand Down

0 comments on commit 99c3d3b

Please # to comment.