novdom/parameter/attribute
Functions
pub fn class(value: String) -> Parameter
Adding classes to the component.
Concatenating the classes if the class attribute already exists.
pub fn style(values: List(#(String, String))) -> Parameter
Adding inline-styles to the component.
Overriding the style attribute if it already exists.