沒有定義屬性字段,定義了一些方法。
- extend(props: Object): Function
擴(kuò)展當(dāng)前類,包含給定的屬性绕沈,并返回一個(gè)js函數(shù)作為類的構(gòu)造函數(shù) - include(properties: Object): this
Includes a mixin into the current class,內(nèi)部調(diào)用了:
Util.extend(this.prototype, props); return this;
- mergeOptions(options: Object): this
選項(xiàng)融合 - addInitHook(fn: Function): this
- checkDeprecatedMixinEvents