source: branches/comu/html/test/kakinaka/js/event/README @ 2

Revision 2, 2.7 KB checked in by root, 17 years ago (diff)

new import

Line 
1YUI Library - Event - Release Notes
2
30.11.4
4
5   * Fixed a memory leak that occured when the utility was hosted in an iframe.
6
7   * Fixed an issue with Safari click listeners when listeners were removed.
8
90.11.3
10
11   * The listener cache is now pruned when events are removed.  This fixes
12     a performance issue when adding many listeners, removing them, and
13     adding them again repeatedly.
14
15   * Safari click listeners will work correctly if a bound element is removed
16     from the DOM and a new element with the same ID is added.
17
18   * Removed the code that automatically unsubscribed custom event listeners.
19
200.11.0
21
22   * Added Event.purgeElement which will remove all listeners added via
23     addListener from the supplied element.  If an optional "type" parameter
24     is supplied, only events of that type will be removed.  Optionally, the
25     purge can be performed recursively on the element's children as well.
26
27   * Added Event.getListeners which will return all listeners attached to
28     a given element.. either all listeners or listeners of a specific type.
29
30   * getTarget now automatically resolves text nodes.  The optional parameter
31     for this feature is now deprecated.
32
33   * getRelatedTarget now resolves text nodes for the browsers that return the
34     text node rather than its host HTML element.
35
36   * CustomEvent now logs the custom event activity if the logger widget is
37   available
38
390.10.0
40
41   * Added Safari dblclick to the list of legacy events.
42
43   * When multiple identical event handlers are defined, multiple calls
44     to removeListener can now remove all of them.
45
46   * removeListener works properly for unload events
47
48   * Legacy event bookkeeping is more efficient, improving the performance for
49     adding Safari click events.
50
51   * _unload() is more efficient, improving the page transition experience in
52     Safari in particular.
53
54   * addListener, removeListener now return false if the function argument is
55     not valid.
56
57   * Fixed an operator precedence issue in getCharCode.
58
59   * Added Event.getXY, which returns [Event.getPageX(e), Event.getPageY(e)]
60
61   * Added Event.onAvailable, which will execute the callback when the element
62     with the supplied id is found.  Currently searches periodically until the
63     window load event or for up to 10 seconds after the onAvailable method
64     was executed.
65
66   * The lazy listener attachment process now will poll beyond the window load
67     event in order to better handle the case when a listener is defined
68     late in the page but before the element is in the dom.
69
70   * Fixed browser detection for Opera installations reporting as IE.
71
72   * It is now possible to remove and re-add legacy events (Safari click event).
73
Note: See TracBrowser for help on using the repository browser.