Class sap.ushell.services.MessageModule: sap/ushell/services/Message
Since: 1.16.0.
Constructor Summary
Field Summary
Field Detail
confirm
Shows an confirmation dialog on the screen.
The callback is called with the following signature: function(oAction)
where oAction is the button that the user has tapped. For example, when the user has pressed the close button, a sap.m.MessageBox.Action.Close is returned.
If no actions are provided, OK and Cancel will be shown. In this case oAction is set by one of the following three values: 1. sap.m.MessageBox.Action.OK: OK (confirmed) button is tapped. 2. sap.m.MessageBox.Action.Cancel: Cancel (unconfirmed) button is tapped. 3. null: Confirm dialog is closed by Calling sap.m.InstanceManager.closeAllDialogs()