ui/time_field

Types

pub type HourCycle {
  Hour12
  Hour24
}

Constructors

  • Hour12
  • Hour24
pub type Size {
  Small
  Medium
  Large
}

Constructors

  • Small
  • Medium
  • Large
pub type Variant {
  Default
  Muted
}

Constructors

  • Default
  • Muted

Values

pub fn disabled() -> attribute.Attribute(a)
pub fn hour_cycle(hc: HourCycle) -> attribute.Attribute(a)
pub fn invalid() -> attribute.Attribute(a)
pub fn placeholder(placeholder: String) -> attribute.Attribute(a)
pub fn required() -> attribute.Attribute(a)
pub fn size(s: Size) -> attribute.Attribute(a)
pub fn timefield(
  attributes: List(attribute.Attribute(a)),
) -> element.Element(a)
Search Document