ractive.get()
ractive.get( keypath[, options ] )
Returns the value at
keypath(see Keypaths)keypath
StringThe keypath for which to return a value.
options
ObjectOptional values that affect the returned value:
- virtual
Boolean- defaultfalse- iftrue, the returned value will be a deep POJO clone of the target keypath with any nested links copied in from their sources.ractive.get([ options ])
Returns a copy of all of the data and, by default, any computations and linked or mapped data copied into the tree.
options
ObjectOptional values that affect the returned value:
- virtual
Boolean- defaulttrue- iftrue, the returned value will be a deep POJO clone of the root model, including computations, with any nested links copied in from their sources. Iffalse, the raw root object will be returned.