ZoonkWeb.Components.Dialog (Zoonk v0.1.0-dev)

View Source

Dialog components.

Summary

Functions

Renders a dialog component.

Functions

dialog(assigns)

Renders a dialog component.

Examples

<.dialog id="my-dialog">
  content
</.dialog>

Attributes

  • id (:string) - The unique identifier for the dialog. Defaults to nil.
  • class (:any) - Additional CSS classes for the dialog. Defaults to nil.

Slots

  • inner_block (required) - The content of the dialog.