OrionPopConfirm

<o-pop-confirm> shows a confirmation popup over the element in the default slot.

It takes place when useConfirm() is too heavy and breaks the UX.

It's a more convenient way to implement this mecanism for actions with a smaller impact.

Like with useConfirm(), you can press Enter to confirm and Esc to cancel.

Usage

PopConfirmSlots PopConfirmPlayground

Props

Name
titlestring = undefined

Events

Name
Payload type
confirm
No payload
cancel
No payload

Slots

Name
Bindings
default
No bindings
content
No bindings
actions
close: function
confirm: function
cancel: function