diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui_3.0.0b1/api/DOMEventFacade.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.0.0b1/api/DOMEventFacade.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,565 @@ + + + + + API: event DOMEventFacade (YUI Library) + + + + + + + + + + +
+
+

Yahoo! UI Library

+

event  3.0.0b1

+ Yahoo! UI Library + > event + > DOMEventFacade + +
+
+ Search: +
+   +
+
+
+
+ +
+
+
+
+
+ Filters + + + +
+
+ +

+ + + + + Class DOMEventFacade + + + +

+ + + + + +
+ Wraps a DOM event, properties requiring browser abstraction are +fixed here. Provids a security layer when required. +
+ + +
+
+

Properties

+
+
+

button + - int +

+
+
+ The button that was pushed. +
+
+ + + + +
+
+
+

charCode + - int +

+
+
+ The charCode for key events. Same as keyCode +
+
+ + + + +
+
+
+

currentTarget + - Node +

+
+
+ Node reference for the element that the listener was attached to. +
+
+ + + + +
+
+
+

keyCode + - int +

+
+
+ The keyCode for key events. Uses charCode if keyCode is not available +
+
+ + + + +
+
+
+

pageX + - int +

+
+
+ The X location of the event on the page (including scroll) +
+
+ + + + +
+
+
+

pageY + - int +

+
+
+ The Y location of the event on the page (including scroll) +
+
+ + + + +
+
+
+

relatedTarget + - Node +

+
+
+ Node reference to the relatedTarget +
+
+ + + + +
+
+
+

target + - Node +

+
+
+ Node reference for the targeted element +
+
+ + + + +
+
+
+

webkitKeymap + - private object +

+
+
+ webkit key remapping required for Safari < 3.1 +
+
+ + + + +
+
+
+

which + - int +

+
+
+ The button that was pushed. Same as button. +
+
+ + + + +
+
+
+
+ +
+ +
+
+

Methods

+
+
+

+ halt

+
+ + + + + void + halt + ( + + + immediate + + + ) + + +
+ Stops the event propagation and prevents the default +event behavior. +
+ +
+ +
+
Parameters:
+
+ immediate + <boolean> + + if true additional listeners +on the current target will not be executed +
+
+ +
+
Returns: + + void +
+
+
+ + + + +
+ +
+
+
+
+

+ preventDefault

+
+ + + + + void + preventDefault + ( + ) + + +
+ Prevents the event's default behavior +
+ +
+ + +
+
Returns: + + void +
+
+
+ + + + +
+ +
+
+
+
+

+ resolve

+
+ + private + + + void + resolve + ( + ) + + +
+ Returns a wrapped node. Intended to be used on event targets, +so it will return the node's parent if the target is a text +node +
+ +
+ + +
+
Returns: + + void +
+
+
+ + + + +
+ +
+
+
+
+

+ stopImmediatePropagation

+
+ + + + + void + stopImmediatePropagation + ( + ) + + +
+ Stops the propagation to the next bubble target and +prevents any additional listeners from being exectued +on the current target. +
+ +
+ + +
+
Returns: + + void +
+
+
+ + + + +
+ +
+
+
+
+

+ stopPropagation

+
+ + + + + void + stopPropagation + ( + ) + + +
+ Stops the propagation to the next bubble target +
+ +
+ + +
+
Returns: + + void +
+
+
+ + + + +
+ +
+
+
+
+
+ +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+
+
+ Copyright © 2009 Yahoo! Inc. All rights reserved. +
+
+ + +