Members
-
<readonly> root :Group
-
Details
Methods
-
<static> defineModelProperties( obj, fields )
-
Description
Defines properties on an Node prototype with getter and setter.
Update events are emitted in the setter through root Model (if any).
The object must have a__
object, non enumerable property to store values.Parameters
Name Type Description obj
function fields
Array.<string> Details
-
off( type [, cb ] ) → {Model}
-
Description
Removes an event listener from the model
Parameters
Name Type Attributes Description type
string cb
function <optional> Returns
Details
-
on( type, cb ) → {Model}
-
Description
Attaches an event listener on the model
Parameters
Name Type Description type
string cb
function Returns
Details
-
once( type, cb ) → {Model}
-
Description
Attaches an event listener called once on the model
Parameters
Name Type Description type
string cb
function Returns
Details
-
trigger( type ) → {$.Event}
-
Description
Triggers an event on the model
Parameters
Name Type Description type
string Returns
Details
Type Definitions
-
GroupIteratee( node ) → {boolean}