javascript Programming Glossary: initcomponent
Better way to call superclass method in ExtJS http://stackoverflow.com/questions/1721935/better-way-to-call-superclass-method-in-extjs methods like this MyApp.MyPanel Ext.extend Ext.Panel initComponent function do something MyPanel specific here... MyApp.MyPanel.superclass.initComponent.call.. MyPanel specific here... MyApp.MyPanel.superclass.initComponent.call this I have been using this pattern for quite some time.. adds to the prototype MyApp.MyPanel Ext.extend Ext.Panel initComponent function do something MyPanel specific here... this.superclass..
Best Practices concerning initComponent() in Ext.define() http://stackoverflow.com/questions/6871594/best-practices-concerning-initcomponent-in-ext-define Practices concerning initComponent in Ext.define I'm writing all my components in ExtJS's new.. . I struggle a bit whether define properties inside of initComponent or by simply setting them like property 42 . Are there widely.. accepted best practices I'm staggering between using initComponent only when necessary ie. when I want something dynamic or set..
ExtJS (JavaScript) Module Design Pattern best practices http://stackoverflow.com/questions/9104387/extjs-javascript-module-design-pattern-best-practices think this question Extjs extend class via constructor or initComponent is pretty relevant to the conversation especially considering..
|