메시지박스를 다양한 스타일로 생성하기 위한 유틸리티 클래스입니다. 

별칭으로 Ext.Msg 로 사용할 수 있습니다.


Example usage : 


Ext.MessageBox.confirm 사용 예 : 




Ext.MessageBox Methods :



Method Parameters :
  • title (String) : The title bar text.
  • msg (String) : The message box body text.
  • fn (Function) : The callback function invoked after the message box is closed.
  • scope (Object) : The scope (this reference) in which the callback is executed. Defaults to the browser wnidow.
  • progressText (String) : The text to display inside the progress bar (defaults to '').
  • multiline (Boolean/Number) : True to create a multiline textbox using the defaultTextHeight property, or the height in pixels to create the textbox (defaults to false / single-line).
  • value (String) : Default value of the text input element (default to '').



Reference



AND