If I create an object like so:
class Foo {
[Bindable] public var property: String;
}
The class Foo has an implicit event dispatcher to handle property change events. How can I access that without making Foo explicitly extend EventDispatcher?
If you add the
-keepparameter to your compile line you will be able to see what it generates. But to explain it quickly you can just handle it like it would be a regularEventDisaptcher.So in your main file you can paste this:
Will print out: