Portal
Renders components somewhere else in the DOM.
layout
Leptos Documentation: Portal
Renders components somewhere else in the DOM.
Useful for inserting modals and tooltips outside of a cropping layout. If no mount point is given, the portal is inserted in document.body; it is wrapped in a <div>
unless is_svg is true in which case it’s wrapped in a <g>
. Setting use_shadow to true places the element in a shadow root to isolate styles.
Installation
# Coming soon :)
Usage
// Coming soon 🦀