Skip to content Skip to sidebar Skip to footer

Sencha Touch 2: Tapping Ext.msg.show That Have No Buttons

I want to display the popup message without any buttons. Ext.Msg.show({ title: '', message: 'Some text goes here...', buttons : [] }); It works fine. How to make it disap

Solution 1:

I tried for you and i got what you want

    Ext.Msg.show({
        title: 'Title',
        message: 'Some text goes here...',
        itemId : 'showMsg',
        buttons : [],
        listeners:[ 
            {
                element: 'element',
                delegate: '',
                event: 'tap',
                fn: function() {
                    this.hide();
                }
            }]
    });

Post a Comment for "Sencha Touch 2: Tapping Ext.msg.show That Have No Buttons"