3 ms·
According to MDN [1] there is a <portal> element but hell if I know what it does. [1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/portal https:/
by smitelli 2y ago
According to MDN [1] there is a <portal> element but hell if I know what it does.
[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/portal https://developer.mozilla.org/en-US/docs/Web/HTML/Element/po...
- epcoa 2y agoWhile complexity of web tech means there's usually some hidden nuance, that description on MDN seems pretty clear: a non-interactive (other than for navigation) iframe, ie an <a> element that's a preview.
- assimpleaspossi 2y agoScroll to the bottom and you'll see that it must be enabled by the user, is experimental, and not listed in any HTML specification.
- bean-weevil 2y agoLooks to me like it's intended as a link with preview, and part of the idea is that user agents could do a sort of animated transition morphing the preview into the content of the destination page.
- paulddraper 2y agoIt’s a non-interactive iframe. (And experimental)