ui/date_range_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_button(
  attributes: List(attribute.Attribute(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 end_field(
  attributes: List(attribute.Attribute(a)),
) -> element.Element(a)
pub fn end_value(val: String) -> 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 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(
  attributes: List(attribute.Attribute(a)),
  start_attributes: List(attribute.Attribute(a)),
  end_attributes: List(attribute.Attribute(a)),
) -> element.Element(a)
pub fn placeholder(placeholder: String) -> attribute.Attribute(a)
pub fn preset_button(
  attributes: List(attribute.Attribute(a)),
  label: String,
) -> element.Element(a)
pub fn presets(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn range_calendar(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn required() -> attribute.Attribute(a)
pub fn start_field(
  attributes: List(attribute.Attribute(a)),
) -> element.Element(a)
pub fn start_value(val: String) -> 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