• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

10.6. Listener Events

Conceptually, listener events are similar to event handler properties. Like event handler properties, listener events are handled with a specially named object method (i.e., a property containing a callback function) that is invoked when a given event occurs. However, listener events add two important event handling features:

  • An object can respond to events that occur for other objects, not just itself.

  • More than one object can respond to an event.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint