README revision bc8660dcb747bedc141ca9061de83f6f32f8018f
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan GroveYUI Event Utility
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove DOM event utilities
93ba7d033a41a9c666ec4019e71a145259f65769Ryan Grove - Added onreadystatechange fork in domready to handle the event in IE when YUI is hosted in an iframe.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Added mousewheel support.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Added Y.delgate function that is a bit easier to use than Y.on('delegate'...
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Default scope of mouseenter and mouseleave events is the Node instance to which the listener is attached
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Default scope of delegated event listeners is the Node instance that matched the supplied CSS selector
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - All special DOM event handlers (focus/blur/mousewheel,resize,delegate,etc) are
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove broken down into submodules. Core DOM event functionality is provided in event-base.js,
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove and all of the functionality is rolled into event.js.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Additional Safari key remapping.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Special DOM events can now be routed through delegate.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Y.on can target Node and NodeList references correctly.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Fixed onAvailable lazy DOM listener detach handles.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - When configured to return a detach handle, a single object is always returned.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove Previously requests that resolved to multiple listeners returned an array.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - DOM event, custom event, and simulate event moved to separate modules.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Added an event for DOM event delegation. It only fires if the target or its descendants
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove match a supplied selector.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove Y.on('delegate', fn, el, 'click', 'selector' ...
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove The event facade sets the following properties:
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove target: the target of the event
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove currentTarget: the element that the selector matched
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove container: the bound element (the delegation container)
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove Y.on('mouseenter', fn, el, 'click', 'selector' ...
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove Y.on('mouseleave', fn, el, 'click', 'selector' ...
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Added Y.on('windowresize', fn), which attempts to normalize
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove when the event fires across all browsers (once at the end
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove of the resize rather than continuously during the resize).
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Fixed unsubscribeAll return value.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Added ability to skip facade creation where performance is a concern.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Moved DOMReady core to yui-base.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Focus/blur abstraction works in Opera when the bound element is the target
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - purgeElement only reads element guids, it does not create new ones for elements without one.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Event.attach returns a single handle if the result from collection processing is a single item.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Fixed IE notification error when no arguments are supplied.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Added event-simulate.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - getListeners works when the element has no listeners defined.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Event.addListener removed. Exists only in compat layer.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - addListerer triggers 2.x event behavior.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Removed extra undefined parameter passed to DOM event listeners.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Compat layer contains Event.on.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Event adapter support added to Y.on
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Added Y.on('focus', 'blur' event adaptors (support for propagation
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove of these events.)
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - publish and subscribe support an object for the type, allowing for multiple
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - subscriber failures throw an error by default rather than log.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - subscriber failures are not routed through Y.fail in order to
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove improve the debug experience.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - New facades created every fire()
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - before method re-added to EventTarget, which delegates to Do.before or
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - EventTarget.after will delegate to Do.after if type is a function
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Added keylistener: Y.on('key', fn, element, 'down:13,65+ctrl+shift')
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - event:ready event deprecated in favor of domready.
c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937debRyan Grove - Initial Release