How to add an iframe or html popup on top of Needle?

Is there an example of this? Like a popup on top of the window within the html

Original Post on Discord

by user 103054507105067008

You can just overlay the tag with your html content or popup that you want to display as you would on any regular website.

One difference is right now that if you add content inside the <needle-engine> component you need to add classes to your div for the platform you want it to show up. Options are desktop, and ar (you can add both if you want the content to be visible in AR and on the regular browser page)

e.g.
<needle-engine><div class="desktop ar">...</div></needle-engine>

That was something I was wondering for AR, your example worked thanks was just trying to figure this out as a total html noob

by user 103054507105067008