Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 354 Bytes

confirm-dialog.md

File metadata and controls

14 lines (11 loc) · 354 Bytes

Confirmation dialog

Showing a confirmation modal dialog to a user before doing some actions.

Available in views.

    this.confirm({
        message: this.translate('someMessageName', 'messages'),
        confirmText: this.translate('Confirm'), // text of the confirmation button
    }).then(() => {
        // here do some actions
    });