Name | Type | Default | Description |
---|---|---|---|
ddpReactiveCollectionInstance |
ddpReactiveCollection |
Instance of @see ddpReactiveCollection class. |
|
settings |
Object | {preserve:false} |
optional
Settings for reactive object. When preserve is true, reactive object won't change when corresponding object is being deleted. |
Classes
Methods
-
Returns reactive document.
Returns:
Type Description Object -
Runs a function every time a change occurs.
Name Type Description f
function Function which recieves a new value at each change.
-
Change reactivity settings.
Name Type Description settings
Object Name Type Description preserve
boolean When preserve is true,reactive object won't change when corresponding object is being deleted.
-
Starts reactiveness for the document. This method is being called on instance creation.
-
Stops reactiveness for the document.