Function any_node_ref

Source
pub fn any_node_ref<E, C>(container: C) -> AnyNodeRefAttr<E, C>
where E: ElementType, C: NodeRefContainer<E>,
Expand description

Constructs an attribute to attach an AnyNodeRef to an element.

Enables adding node references in conditional/dynamic rendering branches.