Results 1 to 2 of 2

Thread: How to create an auto close window / message box?

  1. #1
    Sencha Premium Member Edd's Avatar
    Join Date
    Jan 2012
    Vote Rating

    Default How to create an auto close window / message box?

    Hi everyone.

    I just want to create that messages box like these(the little ones after the real messages box).:

    In my real application I'm using the Wait Dialog, and after it is completed, I want to display a notification message like "Message Sent" that closes after 1 or 2 seconds, without buttons.

    I tried with:
    Ext.example.msg('Done', 'Your fake data was saved!');
    but that didn't work. (Uncaught TypeError: Cannot call method 'msg' of undefined
    (anonymous function))

    Any suggestions?

  2. #2
    Sencha User evant's Avatar
    Join Date
    Apr 2007
    Sydney, Australia
    Vote Rating


    It's not part of the core library, you'll need to pull in the js/css files into your app to use it.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts