2011-09-11から1日間の記事一覧
3. Statics staticsプロパティでstaticメンバを定義できるよ。 Ext.define('Computer', { statics: { instanceCount: 0, factory: function(brand) { //staticメソッド内でのthisはクラスそのものを指すよ return new this({brand: brand}); } }, config: { …
3. Statics staticsプロパティでstaticメンバを定義できるよ。 Ext.define('Computer', { statics: { instanceCount: 0, factory: function(brand) { //staticメソッド内でのthisはクラスそのものを指すよ return new this({brand: brand}); } }, config: { …