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.
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.