Class: PropertyListObserver

decor/Stateful. PropertyListObserver

new PropertyListObserver(o, props)

An observer to observe a set of Stateful properties at once. This class is what module:decor/Stateful#observe returns.

Parameters:
Name Type Description
o Object

The Stateful being observed.

props Object

Hash of properties to observe.

Source:
Show inherited

Methods

close()

Stops the observation.

Source:

deliver()

Synchronously delivers pending change records.

Source:

discardChanges()

Discards pending change records.

Source:

open(callback, thisObject)

Starts the observation. Stateful#observe() calls this method automatically.

Parameters:
Name Type Description
callback function

The change callback.

thisObject Object

The object that should works as "this" object for callback.

Source:

remove()

Synonym for close().

Source:

setValue()

Does nothing, just exists for API compatibility with liaison and other data binding libraries.

Source: