Skip to content

Class

Methods

MethodReturnsDescription
extend(props: Object)FunctionExtends the current class given the properties to be included.
include(properties: Object)thisIncludes a mixin into the current class.
setDefaultOptions(options: Object)thisConfigures the default options on the prototype of this class.
mergeOptions(options: Object)thisMerges options into the defaults of the class.
addInitHook(fn: Function)thisAdds a constructor hook to the class.