1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.bootstrap.MessageBox</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.bootstrap.MessageBox-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.bootstrap.MessageBox-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.bootstrap.MessageBox-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.bootstrap.MessageBox-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <!-- ============================== class title / details ============================ -->
48 <h1 class="classTitle">
50 Class Roo.bootstrap.MessageBox
53 <table cellspacing="0" class="class-summary-table">
55 <tr><td class="label">Package:</td><td class="hd-info">Roo.bootstrap</td></tr>
57 <tr><td class="label">Defined In:</td><td class="hd-info">
59 <a href="./src/Roo_bootstrap_MessageBox.js.html">Roo/bootstrap/MessageBox.js</a>.
62 <tr><td class="label">Class:</td><td class="hd-info">MessageBox</td></tr>
70 <!-- ============================== class summary ========================== -->
71 <div class="description">
72 Utility class for generating different styles of message boxes. The alias Roo.Msg can also be used.<br/>Example usage:<br/><pre><code><br/>// Basic alert:<br/>Roo.Msg.alert('Status', 'Changes saved successfully.');<br/><br/>// Prompt for user data:<br/>Roo.Msg.prompt('Name', 'Please enter your name:', function(btn, text){<br/> if (btn == 'ok'){<br/> // process text value...<br/> }<br/>});<br/><br/>// Show a dialog using config options:<br/>Roo.Msg.show({<br/> title:'Save Changes?',<br/> msg: 'Your are closing a tab that has unsaved changes. Would you like to save your changes?',<br/> buttons: Roo.Msg.YESNOCANCEL,<br/> fn: processResult,<br/> animEl: 'elId'<br/>});<br/></code></pre>
76 <!-- ============================== Class comment block... ========================== -->
78 <div class="comments">
79 <b>Class Comments / Notes</B> =>
80 <u onclick="parent.CommentDialog.showCommentId = 'Roo.bootstrap.MessageBox';">[Add Your comment/notes about this class]</u>
82 <iframe frameborder="0" id="comments-Roo.bootstrap" style="border: none;width:100%;"
83 src="/blog.php/GtkDjsComments/Roo.bootstrap.MessageBox.html"></iframe>
88 <!-- ============================== config options ========================== -->
93 <div class="hr"></div>
94 <a id="Roo.bootstrap.MessageBox-configs"></a>
98 <table cellspacing="0" class="member-table">
99 <caption class="Empty">Config Options - Has None</caption>
113 <!-- ============================== public properties ==================== -->
117 <a id="Roo.bootstrap.MessageBox-props"></a>
123 <table cellspacing="0" class="member-table">
124 <caption class="Empty">Public Properties - Has None</caption>
130 <!-- ============================== methods summary / details ======================== -->
133 <a id="Roo.bootstrap.MessageBox-methods"></a>
134 <!-- constructor?? -->
141 <!-- then dynamics first -->
148 <table cellspacing="0" class="member-table">
149 <caption>Public Methods</caption>
151 <th class="sig-header" colspan="2">Method</th>
152 <th class="msource-header">Defined By</th>
162 <tr class="method-row config-row-alt0 expandable notInherited">
163 <td class="micon"><a class="exi" href="#expand"> </a></td>
167 <a id="Roo.bootstrap.MessageBox-method-alert" name=".alert"></a>
168 <div class="fixedFont">
169 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">alert</b>
171 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>title</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
177 <a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a>
186 <div class="short">Displays a standard read-only message box with an OK button (comparable to the basic JavaScript Window.alert).</div>
192 Displays a standard read-only message box with an OK button (comparable to the basic JavaScript Window.alert).<br/>If a callback function is passed it will be called after the user clicks the button, and the<br/>id of the button that was clicked will be passed as the only parameter to the callback<br/>(could also be the top-right close button).
199 <dl class="detailList">
200 <dt class="heading">Parameters:</dt>
203 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>title</b>
206 <dd>The title bar text</dd>
209 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
212 <dd>The message box body text</dd>
215 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
218 <dd>(optional) The callback function invoked after the message box is closed</dd>
221 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
224 <dd>(optional) The scope of the callback function</dd>
232 <dl class="detailList">
233 <dt class="heading">Returns:</dt>
235 <dd><span class="fixedFont"><a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a></span> This message box</dd>
251 Roo.bootstrap.MessageBox
257 <tr class="method-row config-row-alt1 expandable notInherited">
258 <td class="micon"><a class="exi" href="#expand"> </a></td>
262 <a id="Roo.bootstrap.MessageBox-method-confirm" name=".confirm"></a>
263 <div class="fixedFont">
264 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">confirm</b>
266 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>title</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
272 <a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a>
281 <div class="short">Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's Window.confirm).</div>
287 Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's Window.confirm).<br/>If a callback function is passed it will be called after the user clicks either button, and the id of the<br/>button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).
294 <dl class="detailList">
295 <dt class="heading">Parameters:</dt>
298 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>title</b>
301 <dd>The title bar text</dd>
304 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
307 <dd>The message box body text</dd>
310 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
313 <dd>(optional) The callback function invoked after the message box is closed</dd>
316 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
319 <dd>(optional) The scope of the callback function</dd>
327 <dl class="detailList">
328 <dt class="heading">Returns:</dt>
330 <dd><span class="fixedFont"><a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a></span> This message box</dd>
346 Roo.bootstrap.MessageBox
352 <tr class="method-row config-row-alt0 expandable notInherited">
353 <td class="micon"><a class="exi" href="#expand"> </a></td>
357 <a id="Roo.bootstrap.MessageBox-method-getDialog" name=".getDialog"></a>
358 <div class="fixedFont">
359 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">getDialog</b>
367 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
376 <div class="short">Returns a reference to the underlying {<b>link</b> Roo.BasicDialog} element</div>
382 Returns a reference to the underlying {<b>link</b> Roo.BasicDialog} element
393 <dl class="detailList">
394 <dt class="heading">Returns:</dt>
396 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> The BasicDialog element</dd>
412 Roo.bootstrap.MessageBox
418 <tr class="method-row config-row-alt1 expandable notInherited">
419 <td class="micon"><a class="exi" href="#expand"> </a></td>
423 <a id="Roo.bootstrap.MessageBox-method-hide" name=".hide"></a>
424 <div class="fixedFont">
425 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">hide</b>
434 <div class="short">Hides the message box if it is displayed</div>
440 Hides the message box if it is displayed
463 Roo.bootstrap.MessageBox
469 <tr class="method-row config-row-alt0 expandable notInherited">
470 <td class="micon"><a class="exi" href="#expand"> </a></td>
474 <a id="Roo.bootstrap.MessageBox-method-isVisible" name=".isVisible"></a>
475 <div class="fixedFont">
476 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">isVisible</b>
484 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
493 <div class="short">Returns true if the message box is currently displayed</div>
499 Returns true if the message box is currently displayed
510 <dl class="detailList">
511 <dt class="heading">Returns:</dt>
513 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the message box is visible, else false</dd>
529 Roo.bootstrap.MessageBox
535 <tr class="method-row config-row-alt1 expandable notInherited">
536 <td class="micon"><a class="exi" href="#expand"> </a></td>
540 <a id="Roo.bootstrap.MessageBox-method-progress" name=".progress"></a>
541 <div class="fixedFont">
542 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">progress</b>
544 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>title</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
550 <a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a>
559 <div class="short">Displays a message box with a progress bar.</div>
565 Displays a message box with a progress bar. This message box has no buttons and is not closeable by<br/>the user. You are responsible for updating the progress bar as needed via {<b>link</b> Roo.MessageBox<b>updateProgress</b>}<br/>and closing the message box when the process is complete.
572 <dl class="detailList">
573 <dt class="heading">Parameters:</dt>
576 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>title</b>
579 <dd>The title bar text</dd>
582 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
585 <dd>The message box body text</dd>
593 <dl class="detailList">
594 <dt class="heading">Returns:</dt>
596 <dd><span class="fixedFont"><a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a></span> This message box</dd>
612 Roo.bootstrap.MessageBox
618 <tr class="method-row config-row-alt0 expandable notInherited">
619 <td class="micon"><a class="exi" href="#expand"> </a></td>
623 <a id="Roo.bootstrap.MessageBox-method-prompt" name=".prompt"></a>
624 <div class="fixedFont">
625 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">prompt</b>
627 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>title</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Number <B><i>multiline</i></B>)
633 <a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a>
642 <div class="short">Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to<br/>JavaScript's Window.prompt).</div>
648 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to<br/>JavaScript's Window.prompt). The prompt can be a single-line or multi-line textbox. If a callback function<br/>is passed it will be called after the user clicks either button, and the id of the button that was clicked<br/>(could also be the top-right close button) and the text that was entered will be passed as the two<br/>parameters to the callback.
655 <dl class="detailList">
656 <dt class="heading">Parameters:</dt>
659 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>title</b>
662 <dd>The title bar text</dd>
665 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
668 <dd>The message box body text</dd>
671 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
674 <dd>(optional) The callback function invoked after the message box is closed</dd>
677 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
680 <dd>(optional) The scope of the callback function</dd>
683 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Number</span> <b>multiline</b>
686 <dd>(optional) True to create a multiline textbox using the defaultTextHeight<br/>property, or the height in pixels to create the textbox (defaults to false / single-line)</dd>
694 <dl class="detailList">
695 <dt class="heading">Returns:</dt>
697 <dd><span class="fixedFont"><a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a></span> This message box</dd>
713 Roo.bootstrap.MessageBox
719 <tr class="method-row config-row-alt1 expandable notInherited">
720 <td class="micon"><a class="exi" href="#expand"> </a></td>
724 <a id="Roo.bootstrap.MessageBox-method-show" name=".show"></a>
725 <div class="fixedFont">
726 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">show</b>
728 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
734 <a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a>
743 <div class="short">Displays a new message box, or reinitializes an existing message box, based on the config options<br/>passed in.</div>
749 Displays a new message box, or reinitializes an existing message box, based on the config options<br/>passed in. All functions (e.g. prompt, alert, etc) on MessageBox call this function internally.<br/>The following config object properties are supported:<br/><pre><br/>Property Type Description<br/>---------- --------------- ------------------------------------------------------------------------------------<br/>animEl String/Element An id or Element from which the message box should animate as it opens and<br/> closes (defaults to undefined)<br/>buttons Object/Boolean A button config object (e.g., Roo.MessageBox.OKCANCEL or {ok:'Foo',<br/> cancel:'Bar'}), or false to not show any buttons (defaults to false)<br/>closable Boolean False to hide the top-right close button (defaults to true). Note that<br/> progress and wait dialogs will ignore this property and always hide the<br/> close button as they can only be closed programmatically.<br/>cls String A custom CSS class to apply to the message box element<br/>defaultTextHeight Number The default height in pixels of the message box's multiline textarea if<br/> displayed (defaults to 75)<br/>fn Function A callback function to execute after closing the dialog. The arguments to the<br/> function will be btn (the name of the button that was clicked, if applicable,<br/> e.g. "ok"), and text (the value of the active text field, if applicable).<br/> Progress and wait dialogs will ignore this option since they do not respond to<br/> user actions and can only be closed programmatically, so any required function<br/> should be called by the same code after it closes the dialog.<br/>icon String A CSS class that provides a background image to be used as an icon for<br/> the dialog (e.g., Roo.MessageBox.WARNING or 'custom-class', defaults to '')<br/>maxWidth Number The maximum width in pixels of the message box (defaults to 600)<br/>minWidth Number The minimum width in pixels of the message box (defaults to 100)<br/>modal Boolean False to allow user interaction with the page while the message box is<br/> displayed (defaults to true)<br/>msg String A string that will replace the existing message box body text (defaults<br/> to the XHTML-compliant non-breaking space character ' ')<br/>multiline Boolean True to prompt the user to enter multi-line text (defaults to false)<br/>progress Boolean True to display a progress bar (defaults to false)<br/>progressText String The text to display inside the progress bar if progress = true (defaults to '')<br/>prompt Boolean True to prompt the user to enter single-line text (defaults to false)<br/>proxyDrag Boolean True to display a lightweight proxy while dragging (defaults to false)<br/>title String The title text<br/>value String The string value to set into the active textbox element if displayed<br/>wait Boolean True to display a progress bar (defaults to false)<br/>width Number The width of the dialog in pixels<br/></pre><br/><br/>Example usage:<br/><pre><code><br/>Roo.Msg.show({<br/> title: 'Address',<br/> msg: 'Please enter your address:',<br/> width: 300,<br/> buttons: Roo.MessageBox.OKCANCEL,<br/> multiline: true,<br/> fn: saveAddress,<br/> animEl: 'addAddressBtn'<br/>});<br/></code></pre>
756 <dl class="detailList">
757 <dt class="heading">Parameters:</dt>
760 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
763 <dd>Configuration options</dd>
771 <dl class="detailList">
772 <dt class="heading">Returns:</dt>
774 <dd><span class="fixedFont"><a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a></span> This message box</dd>
790 Roo.bootstrap.MessageBox
796 <tr class="method-row config-row-alt0 expandable notInherited">
797 <td class="micon"><a class="exi" href="#expand"> </a></td>
801 <a id="Roo.bootstrap.MessageBox-method-updateProgress" name=".updateProgress"></a>
802 <div class="fixedFont">
803 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">updateProgress</b>
805 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>value</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
811 <a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a>
820 <div class="short">Updates a progress-style message box's text and progress bar.</div>
826 Updates a progress-style message box's text and progress bar. Only relevant on message boxes<br/>initiated via {<b>link</b> Roo.MessageBox<b>progress</b>} or by calling {<b>link</b> Roo.MessageBox<b>show</b>} with progress: true.
833 <dl class="detailList">
834 <dt class="heading">Parameters:</dt>
837 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>value</b>
840 <dd>Any number between 0 and 1 (e.g., .5)</dd>
843 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
846 <dd>(optional) If defined, the message box's body text is replaced with the specified string (defaults to undefined)</dd>
854 <dl class="detailList">
855 <dt class="heading">Returns:</dt>
857 <dd><span class="fixedFont"><a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a></span> This message box</dd>
873 Roo.bootstrap.MessageBox
879 <tr class="method-row config-row-alt1 expandable notInherited">
880 <td class="micon"><a class="exi" href="#expand"> </a></td>
884 <a id="Roo.bootstrap.MessageBox-method-updateText" name=".updateText"></a>
885 <div class="fixedFont">
886 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">updateText</b>
888 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
894 <a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a>
903 <div class="short">Updates the message box body text</div>
909 Updates the message box body text
916 <dl class="detailList">
917 <dt class="heading">Parameters:</dt>
920 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
923 <dd>(optional) Replaces the message box element's innerHTML with the specified string (defaults to<br/>the XHTML-compliant non-breaking space character '&#160;')</dd>
931 <dl class="detailList">
932 <dt class="heading">Returns:</dt>
934 <dd><span class="fixedFont"><a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a></span> This message box</dd>
950 Roo.bootstrap.MessageBox
956 <tr class="method-row config-row-alt0 expandable notInherited">
957 <td class="micon"><a class="exi" href="#expand"> </a></td>
961 <a id="Roo.bootstrap.MessageBox-method-wait" name=".wait"></a>
962 <div class="fixedFont">
963 <span class="attributes">Roo.bootstrap.MessageBox.</span><b class="itemname">wait</b>
965 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>title</i></B>)
971 <a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a>
980 <div class="short">Displays a message box with an infinitely auto-updating progress bar.</div>
986 Displays a message box with an infinitely auto-updating progress bar. This can be used to block user<br/>interaction while waiting for a long-running process to complete that does not have defined intervals.<br/>You are responsible for closing the message box when the process is complete.
993 <dl class="detailList">
994 <dt class="heading">Parameters:</dt>
997 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
1000 <dd>The message box body text</dd>
1003 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>title</b>
1006 <dd>(optional) The title bar text</dd>
1014 <dl class="detailList">
1015 <dt class="heading">Returns:</dt>
1017 <dd><span class="fixedFont"><a href="./Roo.html#.MessageBox" roo:cls="Roo.html#.MessageBox">Roo.MessageBox</a></span> This message box</dd>
1031 <td class="msource">
1033 Roo.bootstrap.MessageBox
1042 <!-- ============================== events summary / details ======================== -->
1045 <a id="Roo.bootstrap.MessageBox-events"></a>
1051 <table cellspacing="0" class="member-table">
1052 <caption class="Empty">Events - Has None</caption>
1063 <!-- ============================== footer ================================= -->
1064 <div class="fineprint" style="clear:both">
1066 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Mar 10 2016 13:16:09 GMT+0800 (HKT)
1068 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>