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

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

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