This module provides a set of functions for generating and managing confirmation dialogs.
The functions in this module can be accessed using the syntax ix.api.confirm.functionName();
ix.api.confirm.functionName();
// Example usage: Showing a confirmation dialog with custom settingslet confirmSettings = { title: 'Confirm Action', message: 'Are you sure you want to proceed?', onConfirm: () => { console.log('Confirmed!'); }, onCancel: () => { console.log('Cancelled!'); }};ix.api.confirm.show(confirmSettings);// Example usage: Hiding the currently displayed confirmation dialogix.api.confirm.hide(); Copy
// Example usage: Showing a confirmation dialog with custom settingslet confirmSettings = { title: 'Confirm Action', message: 'Are you sure you want to proceed?', onConfirm: () => { console.log('Confirmed!'); }, onCancel: () => { console.log('Cancelled!'); }};ix.api.confirm.show(confirmSettings);// Example usage: Hiding the currently displayed confirmation dialogix.api.confirm.hide();
This module provides a set of functions for generating and managing confirmation dialogs.
Usage
The functions in this module can be accessed using the syntax
ix.api.confirm.functionName();
Example