ModalDialog.ConfirmDialog
ModalDialog.ConfirmDialog — A simple dialog with a "Yes" and "No" button.
|
|
Description
A confirmation dialog that calls callback
and then destroys itself if user clicks "Yes". If the user clicks "No", the dialog simply destroys itself.
Functions
_init ()
_init (string label
,
function callback
);
Constructor function.
Property Details
The “callback”
property
“callback” function
Callback when "Yes" is clicked