Maui.Dialog (maui v0.1.17)

Summary

Functions

backdrop(assigns)

Attributes

  • class (:string) - Defaults to "".
  • Global attributes are accepted.

Slots

  • inner_block

content(assigns)

Attributes

  • id (:string) (required)
  • class (:string) - Defaults to "".
  • Global attributes are accepted.

Slots

  • inner_block

dialog(assigns)

Attributes

  • id (:string) (required)
  • on_cancel (Phoenix.LiveView.JS) - Defaults to %Phoenix.LiveView.JS{ops: []}.
  • alert (:boolean) - Defaults to false.
  • size (:string) - Defaults to "md". Must be one of "sm", "md", "lg", or "xl".

Slots

  • inner_block
  • trigger
  • content - To override the content container.

hide_dialog(id)

show_dialog(id)