Skip to main content

mount_child

Function mount_child 

Source
pub fn mount_child(
    registry: &Arc<ComponentRegistry>,
    name: &str,
    params: Params,
    key: Option<String>,
    attributes: Map<String, Value>,
) -> Result<String, LivewireError>
Expand description

Mounts a component that another component’s template renders, and records it on its parent.

§Errors

Fails as mount does.