ui/date_picker

Types

pub type Variant {
  Default
  Muted
}

Constructors

  • Default
  • Muted

Values

pub fn calendar(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn calendar_icon() -> element.Element(a)
pub fn chevron_left() -> element.Element(a)
pub fn chevron_right() -> element.Element(a)
pub fn content(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn day(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn disabled() -> attribute.Attribute(a)
pub fn grid(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn header(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn invalid() -> attribute.Attribute(a)
pub fn label(lbl: String) -> attribute.Attribute(a)
pub fn nav_button(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn nav_button_next(
  attributes: List(attribute.Attribute(a)),
) -> element.Element(a)

Navigation button for next month with proper aria-label.

pub fn nav_button_prev(
  attributes: List(attribute.Attribute(a)),
) -> element.Element(a)

Navigation button for previous month with proper aria-label.

pub fn picker(
  input_attributes: List(attribute.Attribute(a)),
) -> element.Element(a)
pub fn placeholder(placeholder: String) -> attribute.Attribute(a)
pub fn required() -> attribute.Attribute(a)
pub fn title(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn value(val: String) -> attribute.Attribute(a)
pub fn week(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn weekday(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn weekdays(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
Search Document