extend
can.List.extend([name,] [staticProperties,] instanceProperties)
Creates a new extended constructor function. Learn more at extend.
Parameters
-
name
{String}
OptionalIf provided, adds the extened List constructor function to the window at the given name.
-
staticProperties
{Object}
OptionalProperties and methods directly on the constructor function. The most common property to set is can.List.Map.
-
instanceProperties
{Object}
OptionalProperties and methods on instances of this list type.