new Notifier()
Notifier object for Observable. This is an internal function and cannot be used directly.
- Source:
Methods
-
notify(changeRecord)
-
Queue up a change record. It will be notified at the end of microtask, or when Observable.deliverChangeRecords() is called.
Parameters:
Name Type Description changeRecord
module:decor/Observable~ChangeRecord The change record to queue up for notification.
- Source:
-
performChange(type, callback)
-
Let the series of changes made in the given callback be represented by a synthetic change of the given change type. The callback may return the synthetic change record, which will be of the
type
and automatically emitted. Otherwise, the caller can emit the synthetic record manually via notify().Parameters:
Name Type Description type
string The change type of synthetic change record.
callback
function The callback function.
- Source: