Catalog Modals

<.confirm_modal>

ConnieUI.Modals

Delete Northern Lights?

The project's 27 documents move to the archive.

HEEx
<ConnieUI.Buttons.button
  color="secondary"
  icon_start="icon-trash-01"
  click={JS.dispatch("show", to: "#catalog-confirm-modal")}
>
  Delete project
</ConnieUI.Buttons.button>
<ConnieUI.Modals.confirm_modal id="catalog-confirm-modal" confirm_label="Delete" callback={JS.push("delete")}>
  <ConnieUI.Modals.contents icon="icon-trash-01" color="error">
    <:heading>Delete Northern Lights?</:heading>
    <:paragraph>The project's 27 documents move to the archive.</:paragraph>
  </ConnieUI.Modals.contents>
</ConnieUI.Modals.confirm_modal>

Controls

:string
:string

the confirm button's label; name the action where there is one: "Delete", "Move"

Docs

No @doc for this component.

Attribute Type Default Description
id :string
confirm_label :string "Yes, I'm Sure"
the confirm button's label; name the action where there is one: "Delete", "Move"
rest :global
Slot Slot attributes Description
inner_block *