View Full Version : [CLOSED] Sencha Touch 1.1 Ext.Element.mask doesn't return Element

8 Feb 2012, 6:39 AM
/** * 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.

8 Feb 2012, 9:00 AM
You can optionally do el.down('x-mask') that should get it.