ismail9k / vue3-carousel

Vue 3 carousel component
https://ismail9k.github.io/vue3-carousel/
MIT License
660 stars 164 forks source link

Add @before-init event to Carousel #290

Closed miguilimzero closed 1 year ago

miguilimzero commented 1 year ago

It would be a good feature to have a @before-init event to get triggered after the component is created but before its initialized.

In my use case, I'm trying to set the Carousel $slots dynamically using ref, however the @init event it's invoked too late for that, as the Carousel is already initialized, and it does not show the inserted slot.