pub struct Renderer<COMP>where
COMP: BaseComponent + 'static,{ /* private fields */ }
Available on crate feature
csr
only.Expand description
The Yew Renderer.
This is the main entry point of a Yew application.
Implementations§
source§impl<COMP> Renderer<COMP>where
COMP: BaseComponent + 'static,
impl<COMP> Renderer<COMP>where
COMP: BaseComponent + 'static,
source§impl<COMP> Renderer<COMP>where
COMP: BaseComponent + 'static,
COMP::Properties: Default,
impl<COMP> Renderer<COMP>where
COMP: BaseComponent + 'static,
COMP::Properties: Default,
source§impl<COMP> Renderer<COMP>where
COMP: BaseComponent + 'static,
impl<COMP> Renderer<COMP>where
COMP: BaseComponent + 'static,
sourcepub fn with_props(props: COMP::Properties) -> Self
pub fn with_props(props: COMP::Properties) -> Self
Creates a Renderer that renders into the document body with custom properties.
sourcepub fn with_root_and_props(root: Element, props: COMP::Properties) -> Self
pub fn with_root_and_props(root: Element, props: COMP::Properties) -> Self
Creates a Renderer that renders into a custom root with custom properties.