Class: exports.List

exports.List(defaultDataopt, optsopt)

List for plain object or Item.

Constructor

new exports.List(defaultDataopt, optsopt)

Constructor.
Parameters:
Name Type Attributes Description
defaultData Array <optional>
default data array
opts object <optional>
options
Properties
Name Type Attributes Description
wrapItem boolean | Class.<Item> <optional>
Whether wrapping Item or not, or the sub class of Item.
Source:

exports.List(defaultDataopt, optsopt)

List for plain object or Item.

Constructor

new exports.List(defaultDataopt, optsopt)

Constructor.
Parameters:
Name Type Attributes Description
defaultData Array <optional>
default data array
opts object <optional>
options
Properties
Name Type Attributes Description
wrapItem boolean | Class.<Item> <optional>
Whether wrapping Item or not, or the sub class of Item.
Source: