Skip to main content

glintConfirmDialog

A directive that shows a popup to confirm an action before it is performed.

<glint-button
glintConfirmDialog="Delete this instance?"
(confirm)="deleteInstance()">
Delete...
</glint-button>
  • [glintConfirmDialog]: Shows confirm dialog when clicked. The value passed to this attribute is used as message in the dialog.
  • (confirm): Perform an action when the user confirms the dialog.