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

Yahoo! UI Library

+

node  3.0.0

+ Yahoo! UI Library + > node + + > node-event-simulate.js (source view) +
+
+ Search: +
+   +
+
+
+
+ +
+
+
+
+
+ Filters + + + +
+
+ +
+ +
/**
+ * Adds functionality to simulate events.
+ * @module node
+ * @submodule node-event-simulate
+ */
+
+    /**
+     * Simulates an event on the node.
+     * @param {String} type The type of event to simulate (i.e., "click").
+     * @param {Object} options (Optional) Extra options to copy onto the event object.
+     * @return {void}
+     * @for Node
+     * @method simulate
+     * @static
+     */     
+    Y.Node.prototype.simulate = function(type, options) {
+        Y.Event.simulate(Y.Node.getDOMNode(this), type, options);
+    };
+
+ +
+
+
+ +
+
+
+ Copyright © 2009 Yahoo! Inc. All rights reserved. +
+
+ + +