• property

constructorExtends can.Construct.constructorExtends


Toggles the behavior of a constructor function called without new to extend the constructor function or create a new instance.

Property Type: {Boolean}

If constructorExtends is:

  • true - the constructor extends
  • false - a new instance of the constructor is created

For 1.1, constructorExtends defaults to true. For 1.2, constructorExtends will default to false.