ui/tree
Types
pub type SelectionMode {
None
Single
Multiple
}
Constructors
-
None -
Single -
Multiple
Values
pub fn activedescendant(id: String) -> attribute.Attribute(a)
pub fn aria_label(label: String) -> attribute.Attribute(a)
pub fn expanded(is_expanded: Bool) -> attribute.Attribute(a)
pub fn selection_mode(m: SelectionMode) -> attribute.Attribute(a)
pub fn size(s: Size) -> attribute.Attribute(a)
pub fn tree(
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn tree_expand_button(
is_expanded: Bool,
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn tree_group(
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn tree_item(
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn tree_item_content(
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn tree_item_label(
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn tree_node(
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn variant(v: Variant) -> attribute.Attribute(a)