extend

  • function
 

Extends the can.Component constructor function.

can.Component.extend(proto)

Extends the can.Component constructor function with prototype properties and methods.

Parameters

  1. proto {Object}

    An object set as the prototype of the constructor function. You will typically provide the following values on the prototype object.