Skip to main content

render_slot_param

Function render_slot_param 

Source
pub fn render_slot_param() -> &'static str
Expand description

__html_<Component>() — the server-rendered markup of a component’s view. The parameter a rendered component reads its {children} out of in a BROWSER: the node holding the caller’s children, or 0 for a placement that gave none.

★ A HANDLE, WHERE THE SERVER PASSES A STRING. Both tiers render the children in the CALLER’s scope and hand the finished thing down — a server can finish markup into text, and a browser finishes it into nodes, so the same rule takes the shape each tier has for “already drawn”.