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
Post a Comment