Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please bring back hasContentFor #395

Open
emahuni opened this issue Mar 8, 2023 · 1 comment
Open

Please bring back hasContentFor #395

emahuni opened this issue Mar 8, 2023 · 1 comment

Comments

@emahuni
Copy link

emahuni commented Mar 8, 2023

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.

@dsdsdsdsdsds
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants