Function yew::html::create_portal
source · pub fn create_portal(child: Html, host: Element) -> Html
Expand description
Render children into a DOM node that exists outside the hierarchy of the parent component.
pub fn create_portal(child: Html, host: Element) -> Html
Render children into a DOM node that exists outside the hierarchy of the parent component.