obj object
Objects from which to inherit.
returns chain
Mind that the rightmost objects always become the eldest in chain as this method adds to the top of the chain. If you want to add to the bottom of the chain, use
.
.set.owncontext
boolean
Bind methods to their corresponding object's context instead of the origin object. Defaults to false.
The origin object is always younger than any chained object.
.set.uniqueness
Deprecated.
.set.allowloops
boolean
Allow for inheritance loops when chaining chain objects. Defaults to false.
.set.setchained
boolean
Allow values to be assigned on all objects in chain with the declared property key. Defaults to
false.
Mind that if the chain doesn't have the property, an error is thrown.