extjs - Are private methods in Sencha Touch inherited? -


given:

// @private updateinactivelabel: function(newinactivelabel, oldinactivelabel) {     if (newinactivelabel != oldinactivelabel) {         this.getcomponent().element.dom.setattribute('data-inactivelabel', newinactivelabel);     } }, 

the above fragment code of ext.field.toggle

will method inherited user defined class extends toggle (mytoggle)?

i mean // @private annotation prevents inheritance of method?

yes, private methods inherited unless they're overriden.

the @private notation documentation purposes.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -