diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui_3.0.0b1/examples/event/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.0.0b1/examples/event/index.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,90 @@ + + + + + Library Examples: Event + + + + + + + + +
+
+
+

+ + YUI 3.x Home - + +

+
+ + +
+ + + +
+
+
+
+

Library Examples: Event

+
+
+ +

Note: This is YUI 3.x. Looking for YUI 2.x?

+ +
+
+
+
+

Event: Examples

+ +

The YUI Event Utility supports DOM events and Custom Events.

  • Simple DOM Events: Use the Event Utility to attach simple DOM event handlers.
  • Using 'available', 'contentready', and 'domready': Event Utility gives you control over when you execute your scripts. In addition to the window's load event, Event Utility lets you know when an element is available, when its children are available, and when the page's full DOM is available.
  • Using Custom Events: Use the Event Utility to create Custom Events that are bubbleable, preventable, cancelable and much more.
  • Using the 'focus' and 'blur' custom events: Using the ClassNameManager Utility and the Event Utility's focus and blur custom events to skin checkboxes.

Examples That Make Use of Event

+
+ +
+
+
+ + + +
+ +
+

Copyright © 2009 Yahoo! Inc. All rights reserved.

+

Privacy Policy - + Terms of Service - + Copyright Policy - + Job Openings

+
+
+ + +