Searched defs:delegate (Results 1 - 4 of 4) sorted by relevance

/yui3/src/event/js/
H A Ddelegate.js5 * @submodule event-delegate
28 * to match multiple Nodes for a single event. In this case, the delegate
38 * @method delegate
39 * @param type {String} the event type to delegate
52 function delegate(type, fn, el, filter) { function
57 // Support Y.delegate({ click: fnA, key: fnB }, el, filter, ...);
58 // and Y.delegate(['click', 'key'], fn, el, filter, ...);
65 handles.push(Y.delegate.apply(Y, args));
68 // Y.delegate({'click', fn}, el, filter) =>
69 // Y.delegate('clic
[all...]
H A Dmouseentermouseleave.js64 delegate: function (node, sub, notifier, filter) {
86 var currentTarget = Y.delegate._applyFilter(this.filter, args, ce),
62 }, method
H A Doutside.js80 delegate: function (node, sub, notifier, filter) {
81 sub.handle = Y.one('doc').delegate(event, function (e) {
/yui3/src/node/js/
H A Dnode-event-delegate.js4 * @submodule node-event-delegate
19 * to match multiple Nodes for a single event. In this case, the delegate
29 * @method delegate
30 * @param type {String} the event type to delegate
41 Y.Node.prototype.delegate = function(type) {
48 return Y.delegate.apply(Y, args);

Completed in 298 milliseconds