|
1 YUI Event Utility |
|
2 DOM event utilities |
|
3 |
|
4 3.0.0 |
|
5 - Added onreadystatechange fork in domready to handle the event in IE when YUI is hosted in an iframe. |
|
6 - Added mousewheel support. |
|
7 - Added Y.delegate function that is a bit easier to use than Y.on('delegate'... |
|
8 - Default scope of mouseenter and mouseleave events is the Node instance to which the listener is attached |
|
9 - Default scope of delegated event listeners is the Node instance that matched the supplied CSS selector |
|
10 - All special DOM event handlers (focus/blur/mousewheel,resize,delegate,etc) are |
|
11 broken down into submodules. Core DOM event functionality is provided in event-base.js, |
|
12 and all of the functionality is rolled into event.js. |
|
13 - Additional Safari key remapping. |
|
14 - Special DOM events can now be routed through delegate. |
|
15 - Y.on can target Node and NodeList references correctly. |
|
16 - Fixed onAvailable lazy DOM listener detach handles. |
|
17 - When configured to return a detach handle, a single object is always returned. |
|
18 Previously requests that resolved to multiple listeners returned an array. |
|
19 |
|
20 3.0.0beta1 |
|
21 - DOM event, custom event, and simulate event moved to separate modules. |
|
22 - Added an event for DOM event delegation. It only fires if the target or its descendants |
|
23 match a supplied selector. |
|
24 Y.on('delegate', fn, el, 'click', 'selector' ... |
|
25 The event facade sets the following properties: |
|
26 target: the target of the event |
|
27 currentTarget: the element that the selector matched |
|
28 container: the bound element (the delegation container) |
|
29 - Added mouseenter/mouseleave events |
|
30 Y.on('mouseenter', fn, el, 'click', 'selector' ... |
|
31 Y.on('mouseleave', fn, el, 'click', 'selector' ... |
|
32 - Added Y.on('windowresize', fn), which attempts to normalize |
|
33 when the event fires across all browsers (once at the end |
|
34 of the resize rather than continuously during the resize). |
|
35 - Fixed unsubscribeAll return value. |
|
36 - Added ability to skip facade creation where performance is a concern. |
|
37 - Moved DOMReady core to yui-base. |
|
38 - Focus/blur abstraction works in Opera when the bound element is the target |
|
39 - purgeElement only reads element guids, it does not create new ones for elements without one. |
|
40 - Event.attach returns a single handle if the result from collection processing is a single item. |
|
41 |
|
42 3.0.0pr2 |
|
43 - Fixed IE notification error when no arguments are supplied. |
|
44 - Added event-simulate. |
|
45 - getListeners works when the element has no listeners defined. |
|
46 - Event.addListener removed. Exists only in compat layer. |
|
47 - addListerer triggers 2.x event behavior. |
|
48 - Removed extra undefined parameter passed to DOM event listeners. |
|
49 - Compat layer contains Event.on. |
|
50 - Event adapter support added to Y.on |
|
51 - Added Y.on('focus', 'blur' event adaptors (support for propagation |
|
52 of these events.) |
|
53 - publish and subscribe support an object for the type, allowing for multiple |
|
54 events/subscriptions. |
|
55 - subscriber failures throw an error by default rather than log. |
|
56 - subscriber failures are not routed through Y.fail in order to |
|
57 improve the debug experience. |
|
58 - New facades created every fire() |
|
59 - before method re-added to EventTarget, which delegates to Do.before or |
|
60 subscribe. |
|
61 - EventTarget.after will delegate to Do.after if type is a function |
|
62 - Added keylistener: Y.on('key', fn, element, 'down:13,65+ctrl+shift') |
|
63 - event:ready event deprecated in favor of domready. |
|
64 |
|
65 3.0.0pr1 |
|
66 - Initial Release |