slackline/element/timepicker
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Attributes for element.timepicker.
Values
pub fn confirm(
confirm: block.ConfirmationDialog,
) -> block.Attr(block.TimepickerElement)
A confirmation dialog shown after a time is selected.
pub fn focus_on_load(
focus_on_load: Bool,
) -> block.Attr(block.TimepickerElement)
Whether to auto focus this element in a view. Defaults to false.
pub fn initial_time(
initial_time: String,
) -> block.Attr(block.TimepickerElement)
The initial time, HH:mm in 24-hour format.
pub fn placeholder(
placeholder: String,
) -> block.Attr(block.TimepickerElement)
Placeholder text. Maximum 150 characters.
pub fn timezone(
timezone: String,
) -> block.Attr(block.TimepickerElement)
An IANA timezone, such as America/Chicago, shown as hint text.