Lines Matching defs:on
55 * Y.on('detachcategory| menu:click', fn)
130 * This is the equivalent to <code>on</code> except the
141 var handle = this.on.apply(this, arguments);
173 * Takes the type parameter passed to 'on' and parses out the
213 * @method on
221 on: function(type, fn, context) {
265 ret.push(this.on.apply(this, args));
282 return Y.on.apply(Y, args);
313 handle = adapt.on.apply(Y, args);
338 * @deprecated use on
341 Y.log('EventTarget subscribe() is deprecated, use on()', 'warn', 'deprecated');
342 return this.on.apply(this, arguments);
358 * that lives on the prototype)
365 // detachAll disabled on the Y instance.
609 * turned on or off (publish can't be turned off before it
638 * be published on this object first.
763 return this.on.apply(this, a);
771 * events, this is an alias for Y.on.
783 return this.on.apply(this, arguments);
806 // @TODO implement a global namespace function on Y.Global?
809 `Y.on()` can do many things:
816 <li>Subscribe to the execution of a method on any object, effectively
822 Y.on('io:complete', function () {
831 Y.on('click', function (e) {
842 `on()` subscribers for DOM events or custom events `publish`ed with a
852 @method on
864 Listen for an event one time. Equivalent to `on()`, except that
867 See the <a href="#methods_on">`on()` method</a> for additional subscription
870 @see on
883 the subscription callback executes after all `on()` subscribers and the event's
884 `defaultFn` (if configured) have executed. Like `after()` if any `on()` phase
890 See the <a href="#methods_on">`on()` method</a> for additional subscription
905 Like `on()`, this method creates a subscription to a custom event or to the
906 execution of a method on an object.
909 `defaultFn` unless `e.preventDefault()` was called from an `on()` subscriber.
911 See the <a href="#methods_on">`on()` method</a> for additional subscription
918 @see on