add
can.view.Scope.add
scope.add(context)
Parameters
-
context
{*}The context of the new scope object.
Returns
{can.view.Scope}
A scope object.
{*}The context of the new scope object.
{can.view.Scope}A scope object.
Use
scope.add(context)creates a new scope object that first looks up values in context and then in the parentscopeobject.