Class LFocus
Object
|
+--Lens
|
+--LFocus
- class
LFocus
- extends Lens
Focuses concrete tree on a single property, projecting away all other
properties of the object. If, on putback, the property comes back undefined,
then a default value will be substituted.
Defined in lens.js
|
Field Summary |
Object |
name
|
|
Constructor Summary |
LFocus(<String> prop, d)
|
name
Object name
LFocus
LFocus(<String> prop, d)
Parameters:
prop - The property on which to focus
d - The default value, if the abstract tree is undefined
Documentation generated by
JSDoc on Wed Feb 14 15:36:01 2007