ui/alert
Types
pub type LiveRegion {
Assertive
Polite
Off
}
Constructors
-
Assertive -
Polite -
Off
Values
pub fn alert(
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn aria_atomic(value: Bool) -> attribute.Attribute(a)
pub fn aria_label(label: String) -> attribute.Attribute(a)
pub fn aria_live(live: LiveRegion) -> attribute.Attribute(a)
pub fn critical_region() -> List(attribute.Attribute(a))
pub fn description(
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn live_region() -> List(attribute.Attribute(a))
pub fn role_alert() -> attribute.Attribute(a)
pub fn role_status() -> attribute.Attribute(a)
pub fn title(
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn variant(v: Variant) -> attribute.Attribute(a)