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 -

Python ctypes access violation with const pointer arguments -

jquery - Keeping Kendo Datepicker in min/max range -