ShadowModelAccess
Extends:
Constructor Summary
Public Constructor | ||
public |
constructor(modelProperty: *, impl: *) |
Member Summary
Public Members | ||
public |
|
Method Summary
Public Methods | ||
public |
$$(): * |
|
public |
cid(): * |
|
public |
collection(): * |
|
public |
create$ForChild(childImpl: *): * |
|
public |
destroy(): * |
|
public |
id(): * |
|
public |
isDirty(): * |
|
public |
isNew(): * |
|
public |
isWaiting(): * |
|
public |
remove(): * |
|
public |
|
|
public |
save(): * |
Inherited Summary
From class Access | ||
public |
[_impl]: * |
|
public |
Copies the current actual state for later reset using Property#resetToCheckpoint. |
|
public |
Clears an existing checkpoint created using Property#checkpoint. |
|
public |
Gets the path from root property using a dot ( |
|
public |
getCheckpoint(): Object | Array Gets the checkpoint state previously recorded using Property#checkpoint. |
|
public |
Gets if an existing checkpoint has be created using Property#checkpoint. |
|
public |
Gets if the shadow state property is proxying the current actual state contained in the f.lux store. |
|
public |
Gets if the property allows for assignment through the shadow state, ie |
|
public |
Gets if the shadow property has experienced a mutation action. |
|
public |
Gets the current shadow state for this property. |
|
public |
Gets the next actual state for this property following any pending actions. |
|
public |
path(): [] Gets the Property#name components from the root property to this property. |
|
public |
Gets the unique f.lux ID for this property. |
|
public |
Gets the Property managing this shadow property. |
|
public |
Replaces the current property state with a checkpoint state previously recorded using Property#checkpoint. |
|
public |
rootShadow(): Shadow Gets the top-level shadow from the Store containing this shadow state property. |
|
public |
shadow(): * |
|
public |
Gets the path from root property using a slash ( |
|
public |
Gets the actual state being shadowed. |
|
public |
Gets the {@Link Store} containing the application state. |
|
public |
update(callback: *) Performs an update on the state values. |
|
public |
Registers a one-time no argument callback to be invoked after the next Store state change. |
Public Constructors
public constructor(modelProperty: *, impl: *) source
Override:
Access#constructorParams:
Name | Type | Attribute | Description |
modelProperty | * | ||
impl | * |
Public Members
public [_modelProperty]: * source
Public Methods
public create$ForChild(childImpl: *): * source
Params:
Name | Type | Attribute | Description |
childImpl | * |
Return:
* |
public resetToCheckpoint() source
Replaces the current property state with a checkpoint state previously recorded using Property#checkpoint. The checkpoint is cleared.