read

  • function
can.view.Scope.read  

Scope.read(parent, reads, options)

Read properties from an object.

Parameters

  1. parent {*}

    A parent object to read properties from.

  2. reads {Array<String>}

    An array of properties to read.

  3. options {readOptions}

    Configures how to read properties and values and register callbacks

Returns

{Object}

Returns an object that provides the value and parent object.

  • value {*}

    The value found by reading reads properties. If no value was found, value will be undefined.

  • parent {*}

    The most immediate parent object of the value specified by key.