ClassWrapSpec

ClassWrapSpec

Specifies the style of wrapping and construction hooks for wrapping classes.

Properties:
Name Type Attributes Default Description
es6 bool <optional>
false
pre ConstructorHookFunction <optional>
null

A function called with the constructor's arguments before the base class' constructor is executed. The this value will be null.

post ConstructorHookFunction <optional>
null

A function called with the constructor's arguments after the base class' constructor is executed. The this value will be the just-constructed object.

Source: