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
    Location
    Romania
    Posts
    628

    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 */
    Code:
    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
    Location
    Gainesville, FL
    Posts
    40,450

    Default

    You can optionally do el.down('x-mask') that should get it.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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