slackline/element/datetimepicker
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Attributes for element.datetimepicker.
Values
pub fn confirm(
confirm: block.ConfirmationDialog,
) -> block.Attr(block.DatetimepickerElement)
A confirmation dialog shown after a time is selected.
pub fn focus_on_load(
focus_on_load: Bool,
) -> block.Attr(block.DatetimepickerElement)
Whether to auto focus this element in a view. Defaults to false.
pub fn initial_date_time(
initial_date_time: Int,
) -> block.Attr(block.DatetimepickerElement)
The initial date and time as a UNIX timestamp in seconds.