July 2008
Beginner
192 pages
4h 41m
English
addEventListener and removeEventListener work just as they do in regular JavaScript. However,
addEventListener in FBJS does not support the useCapture parameter. In addition, Facebook
provides the following methods:
listEventListeners(eventName)Returns an array of identifiers for all events that have been added to this event.
purgeEventListeners(eventName)Removes all event listeners for the specified event.
Read now
Unlock full access