portal-vue
portal-vue copied to clipboard
Please bring back hasContentFor
I noticed that the new version doesn't have this wormhole functionality anymore, and the documentation is missing wormhole documentation. Could you please bring back the function, as it was really helpful in determining whether to show or hide an element based on whether the target has content or not.
@emahuni, this works for me: Wormhole.getContentForTarget('yourTarget').length