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
Docs
No @doc for this component.
| Attribute | Type | Default | Description |
|---|---|---|---|
| No data found. | |||
| 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 |
|---|---|---|
| No data found. | ||
| inner_block * | ||