Function leptos_dom::class
source · Expand description
Binds the value
to the class class_name
on this el
’s classList
. If the class value is reactive,
it will create an effect to make fine-grained reactive updates
to the class list.
This is used by the view
macro.
You usually won’t need to interact with it directly.