X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.MessageBox.html?ds=sidebyside diff --git a/docs/output/Ext.MessageBox.html b/docs/output/Ext.MessageBox.html index a20110e4..56ed2f1a 100644 --- a/docs/output/Ext.MessageBox.html +++ b/docs/output/Ext.MessageBox.html @@ -1,24 +1,8 @@ -
-
- Properties - Methods - Events - Direct Link -
-

Class Ext.MessageBox

- - - - - -
Package:Ext
Defined In:MessageBox.js
Class:MessageBox
Extends:Object
-
- * -

Utility class for generating different styles of message boxes. The alias Ext.Msg can also be used.

+

Class Ext.MessageBox

Package:Ext
Defined In:MessageBox.js
Class:MessageBox
Extends:Object

Utility class for generating different styles of message boxes. The alias Ext.Msg can also be used.

Note that the MessageBox is asynchronous. Unlike a regular JavaScript alert (which will halt browser execution), showing a MessageBox will not cause the code to stop. For this reason, if you have code that should only run after some user feedback from the MessageBox, you must use a callback function -(see the function parameter for show for more details).

+(see the function parameter for show for more details).

Example usage:

// Basic alert:
 Ext.Msg.alert('Status', 'Changes saved successfully.');
@@ -38,358 +22,61 @@ Ext.Msg.show({
    fn: processResult,
    animEl: 'elId',
    icon: Ext.MessageBox.QUESTION
-});


This class is a singleton and cannot be created directly.
- -
- -

Public Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDefined By
  - - CANCEL : Object
- Button config that displays a single Cancel button
-
MessageBox
  - - ERROR : String
- The CSS class that provides the ERROR icon image
-
MessageBox
  - - INFO : String
- The CSS class that provides the INFO icon image
-
MessageBox
  - - OK : Object
- Button config that displays a single OK button
-
MessageBox
  - - OKCANCEL : Object
- Button config that displays OK and Cancel buttons
-
MessageBox
  - - QUESTION : String
- The CSS class that provides the QUESTION icon image
-
MessageBox
  - - WARNING : String
- The CSS class that provides the WARNING icon image
-
MessageBox
  - - YESNO : Object
- Button config that displays Yes and No buttons
-
MessageBox
  - - YESNOCANCEL : Object
- Button config that displays Yes, No and Cancel buttons
-
MessageBox

Public Events

This class has no public events.
\ No newline at end of file