portal-vue icon indicating copy to clipboard operation
portal-vue copied to clipboard

Please bring back hasContentFor

Open emahuni opened this issue 2 years ago • 1 comments

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 avatar Mar 08 '23 14:03 emahuni

@emahuni, this works for me: Wormhole.getContentForTarget('yourTarget').length

dsdsdsdsdsds avatar May 02 '23 12:05 dsdsdsdsdsds