PDA

View Full Version : Why AbstractComponent mask and unmask are privates?



SebTardif
28 Jan 2013, 8:00 AM
http://docs.sencha.com/ext-js/4-1/source/AbstractComponent.html says that mask and unmask are private, what else am I expected to use?

droessner
28 Jan 2013, 9:03 AM
Looking at the source I assume you are expected to use the elements mask/unmask methods.



component.getEl().mask();
component.getEl().unmask();


http://docs.sencha.com/ext-js/4-1/#!/api/Ext.dom.Element-method-mask
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.dom.Element-method-unmask