module:core/modal_save_cancel

module:core/modal_save_cancel

The Save/Cancel Modal.

Constructor

new (require("core/modal_save_cancel"))()

Source:

Extends

  • module:core/modal

Methods

registerEventListeners()

Source:

Register all event listeners.

setFooter()

Source:

Override parent implementation to prevent changing the footer content.

setSaveButtonText(value)

Source:

Set the title of the save button.

Parameters:
Name Type Description
value String | Promise

The button text, or a Promise which will resolve it