Methods
from(…sourcesopt) → {object}
Specify the sources
to copy properties from.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
sources |
object |
<optional> <repeatable> |
The source objects. If If You can specify no sources at all to clear the
currently set |
- Source:
Returns:
this
- Type
- object
given(opts) → {object}
Set all options.
This replaces any existing options entirely.
Parameters:
Name | Type | Description |
---|---|---|
opts |
object | The options to set. |
- Source:
Returns:
this
- Type
- object
into(…targetsopt) → {object}
Specify the targets
to copy properties into.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
targets |
object |
<optional> <repeatable> |
The target objects If If You can specify no sources at all to clear the
currently set |
- Source:
Returns:
this
- Type
- object
set(opt, value) → {object}
Set options.
Parameters:
Name | Type | Description |
---|---|---|
opt |
string | object | Option(s) to set. If this is a |
value |
* | The option value. Only used if |
- Source:
Returns:
this
- Type
- object