handleAttachedChange
A method that’s called when the observed object has been attached to another object, may be overridden.
protected
protected handleAttachedChange(origin: ManagedObject): void
Notes
- Override this method to perform any actions after the observed object is attached; the base implementation does nothing.
Parameters
- origin — The new object that the observed object is attached to
Related
- class ObserverThe base class for an observer that watches a particular ManagedObject.
- handleUnlink() protectedA method that’s called when the observed object is unlinked, may be overridden.
- handleEvent(event) protectedA method that’s called when an event is emitted on the observed object, may be overridden.