formz_nakai/generator
Types
pub type ElementAndId {
ElementAndId(element: html.Node, id: String)
}
Constructors
-
ElementAndId(element: html.Node, id: String)
Functions
pub fn build_item(item: Item(Widget)) -> Node
pub fn error(
id: String,
state: InputState,
element: fn(List(Attr), List(Node)) -> Node,
class_name: String,
) -> ElementAndId
pub fn help_text(
id: String,
help_text: String,
element: fn(List(Attr), List(Node)) -> Node,
class_name: String,
) -> ElementAndId