Dojo NG is being built in the open, one section at a time — follow along on Heptapod.

API REFERENCE · OVERLAYS

<dj-popup-confirmation>

Clicking the trigger (default slot) opens a small confirm popup with the content slot and Confirm/Cancel buttons. Emits dj-confirm / dj-cancel.

Try it in the playground

@dojo-ng/popup-confirmation · v0.1.1

npm install @dojo-ng/popup-confirmation

import "@dojo-ng/popup-confirmation";

Properties

PropertyAttributeTypeDefault
open open boolean false
confirmLabel confirm-label string None
cancelLabel cancel-label string None

Events

dj-confirmdj-cancel

Slots

Default slotcontent