Function
reads (dependentKey) ComputedProperty public
Module:
@ember/object
Defined in packages/@ember/object/lib/computed/computed_macros.ts:732
import { reads } from '@ember/object/computed'; |
- dependentKey
- String
- returns
- ComputedProperty
- computed property which creates a one way computed property to the original value for property.
This is a more semantically meaningful alias of the oneWay
computed macro,
whose name is somewhat ambiguous as to which direction the data flows.