Get the dialog builder to create a new dialog
The name of the dialog (title)
const dialog = getDialogBuilder('Confirm action') .addButton({ label: 'Ok', callback: () => console.warn('confirmed'), }) .build() Copy
const dialog = getDialogBuilder('Confirm action') .addButton({ label: 'Ok', callback: () => console.warn('confirmed'), }) .build()
Get the dialog builder to create a new dialog