I'm trying to implement a wrapper component for Tippy JS capable of using singletons. For that to work, I need to emit/gather tippy instances from the child elements (contained in a slot of the wrapper) and create a singleton from those.
I have seen multiple threads about using an event bus (such as mitt) to pass the data. The problem that I foresee is that the parent will not be ready to handle the event when the children emit them and I'm not sure how to link all the possible wrapper-child groups cleanly.
Note : I know of the Scoped Slot pattern, but I need to use the data in code (in the mounted hook to be precise) so I don't think it's a viable solution.