diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui3.0.0/examples/attribute/attribute-event-speeddate_clean.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui3.0.0/examples/attribute/attribute-event-speeddate_clean.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,352 @@ + + + + + +Attribute Event Based Speed Dating + + + + + + + + + + + + + + + +

Attribute Event Based Speed Dating

+ +
+

Attribute change events are one of the key benefits of using attributes to maintain state for your objects, instead of regular object properties.

+ +

This example refactors the basic "Attribute Based Speed Dating" example to shows how you can listen for attribute change events to tie together your object's internal logic (such as updating the visual presentation of the object), and also to communicate with other objects.

+ +
+ + + +
+ +

Communicating With Attribute Events On Speed Dates

+ +
+ + + + I enjoy: + + + + + +
+
+ +
+ + (unless he likes whales, and avoids knitting ) +
+
+
+ + + + + + +