require(["decor/Invalidating"], function (Invalidating) {
new Invalidating();
});
Mixin class to for widgets that want to calculate computed properties at once and/or to render UI at once upon multiple property changes.
- Source:
Methods
-
computeProperties(newValues, oldValues)
-
Callback function to calculate computed properties upon property changes.
Parameters:
Name Type Description newValues
Object The hash table of new property values, keyed by property names.
oldValues
Object The hash table of old property values, keyed by property names.
- Source:
-
deliver()
-
Synchronously deliver change records for computed properties and then UI rendering so that
refreshingRendering()
is called if there are pending change records.- Source:
-
deliverComputing()
-
Synchronously deliver change records for computed properties so that
refreshingComputing()
is called if there are pending change records.- Source:
-
discardChanges()
-
Discard change records.
- Source:
-
discardComputing()
-
Discard change records for computed properties.
- Source:
-
refreshRendering(newValues, oldValues)
-
Callback function to render UI upon property changes.
Parameters:
Name Type Description newValues
Object The hash table of new property values, keyed by property names.
oldValues
Object The hash table of old property values, keyed by property names.
- Source: