| Package | org.spicefactory.parsley.binding.impl |
| Class | public class DefaultPropertyWatcher |
| Inheritance | DefaultPropertyWatcher Object |
| Implements | PropertyWatcher |
| Method | Defined By | ||
|---|---|---|---|
unwatch():void
Stops watching the property. | DefaultPropertyWatcher | ||
Watches the property of the specified target object for change events
and invokes the specified callback on each change, passing the new value. | DefaultPropertyWatcher | ||
| unwatch | () | method |
public function unwatch():voidStops watching the property.
| watch | () | method |
public function watch(target:Object, property:Property, changeEvent:String, callback:Function):voidWatches the property of the specified target object for change events and invokes the specified callback on each change, passing the new value.
Parameters
target:Object — the instance that holds the property to observe
| |
property:Property — the target property that holds the published value
| |
changeEvent:String — the event type that signals that the property value has changed (has no effect in Flex applications)
| |
callback:Function — the callback to invoke on each property change
|