Results 1 to 2 of 2

Thread: Sencha Touch 1.1 Ext.Element.mask doesn't return Element

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium User bluehipy's Avatar
    Join Date
    Mar 2010

    Default Sencha Touch 1.1 Ext.Element.mask doesn't return Element

    /** * Puts a mask over this element to disable user interaction. * This method can only be applied to elements which accept child nodes. * @param {String} msg (optional) A message to display in the mask. This can be html. * @param {String} msgCls (optional) A css class to apply to the msg element * @param {Boolean} transparent (optional) False to show make the mask gray with opacity. (defaults to true) * @return {Element} The mask element */
    mask: function(msg, msgCls, transparent) {//there is no return at all}

    Method mask should return the mask element but it doesn't have a return instruction in the code block.
    Last edited by bluehipy; 8 Feb 2012 at 6:40 AM. Reason: wrong formating

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    You can optionally do el.down('x-mask') that should get it.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:

    Posts are my own, not any current, past or future employer's.

Posting Permissions

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