m3e/dialog_action

dialog_action provides Lustre support for the M3E Dialog Action component

Types

DialogAction holds the return value for a dialog action

Fields:

  • return_value: The return value of the dialog action
pub opaque type DialogAction

Values

pub fn new(return_value: String) -> DialogAction

new creates a DialogAction

Parameters:

  • return_value: The return value of the dialog action
pub fn render(
  d: DialogAction,
  attributes: List(attribute.Attribute(msg)),
  children: List(element.Element(msg)),
) -> element.Element(msg)

render creates a Lustre Element from a DialogAction

Search Document