m3e/datepicker_toggle

DatepickerToggle is an element, nested within a clickable element, used to toggle a datepicker.

This file was generated by m3e/generator

     DO NOT EDIT

Types

DatepickerToggle is a View Model for this component

Fields:

  • for: The identifier of the interactive control to which this element is attached.
pub opaque type DatepickerToggle

Values

pub const default_for: option.Option(String)
pub fn for(
  arg: DatepickerToggle,
  for: option.Option(String),
) -> DatepickerToggle

for sets the value of for for this DatepickerToggle.

pub fn new(for: option.Option(String)) -> DatepickerToggle

new creates a new DatepickerToggle with the default configuration.

pub fn render(
  model: DatepickerToggle,
  attributes: List(attribute.Attribute(msg)),
) -> element.Element(msg)

render creates a Lustre Element for a DatepickerToggle

Search Document