extend

  • function
 

can.List.extend([name,] [staticProperties,] instanceProperties)

Creates a new extended constructor function. Learn more at extend.

Parameters

  1. name {String}Optional

    If provided, adds the extened List constructor function to the window at the given name.

  2. staticProperties {Object}Optional

    Properties and methods directly on the constructor function. The most common property to set is can.List.Map.

  3. instanceProperties {Object}Optional

    Properties and methods on instances of this list type.