Lines Matching refs:event
1 YUI.add('event-outside', function(Y) {
5 * or synthetic DOM event occurs outside a bound element.
28 * By default, the created synthetic event name will be the name of the event
33 * @module event
34 * @submodule event-outside
45 * Defines a new outside event to correspond with the given DOM event.
47 * By default, the created synthetic event name will be the name of the event
53 * @param {String} event DOM event
54 * @param {String} name (optional) custom outside event name
57 Y.Event.defineOutside = function (event, name) {
58 name = name || (event + 'outside');
63 sub.handle = Y.one('doc').on(event, function(e) {
76 sub.handle = Y.one('doc').delegate(event, function (e) {
95 Y.Array.each(nativeEvents, function (event) {
96 Y.Event.defineOutside(event);
100 }, '@VERSION@' ,{requires:['event-synthetic']});