Crate leptos_node_ref

Source
Expand description

Node reference extras for Leptos.

Modules§

prelude

Structs§

AnyNodeRef
A reactive reference to a DOM node that can be used with the node_ref attribute.
AnyNodeRefAttr
Attribute wrapper for node references that allows conditional rendering across elements.

Traits§

IntoAnyNodeRef
Allows converting any node reference into our type-erased AnyNodeRef.

Functions§

any_node_ref
Constructs an attribute to attach an AnyNodeRef to an element.