read
can.view.Scope.read
Deprecated 2.1
You should use [can.compute.read] instead of this function.
Scope.read(parent, reads, options)
Parameters
-
parent
{*}
A parent object to read properties from.
-
reads
{Array<String>}
An array of properties to read.
-
options
{readOptions}
Configures how to read properties and values and register callbacks
Returns
{Object}
Returns an object that provides the value and parent object.