Lines Matching refs:detach
166 * @method detach
170 detach: function(handle) {
172 if (handle.detach) {
173 handle.detach();
690 * @param what {string} what to monitor ('detach', 'attach', 'publish').
791 * @return {EventHandle} An object with a detach method to detch the handler(s).
821 * @method detach
827 detach: function(fn, context) {
829 if (fn && fn.detach) {
830 return fn.detach();
857 * @deprecated use detach.
860 return this.detach.apply(this, arguments);
1036 return this.detach();
1060 this.host._monitor('detach', this.type, {
1251 * @method detach
1254 detach: function() {
1257 // Y.log('EventHandle.detach: ' + this.sub, 'info', 'Event');
1260 detached += evt[i].detach();
1277 * @param what {string} what to monitor ('attach', 'detach', 'publish').
1336 * Returns an array with the detach key (if provided),
1368 // detach category, full type with instance prefix, is this an after listener, short type
1466 * * the detach category, if supplied,
1630 * @method detach
1644 detach: function(type, fn, context) {
1652 evts[i].detach(fn, context);
1674 handles[i].detach();
1700 // If this is an event handle, use it to detach
1701 } else if (L.isObject(type) && type.detach) {
1702 type.detach();
1708 Y.detach.apply(Y, args);
1717 // use the adaptor specific detach code if
1718 if (adapt && adapt.detach) {
1719 adapt.detach.apply(Y, args);
1724 Y.Event.detach.apply(Y.Event, args);
1732 ce.detach(fn, context);
1739 * detach a listener
1741 * @deprecated use detach
1744 Y.log('EventTarget unsubscribe() is deprecated, use detach()', 'warn', 'deprecated');
1745 return this.detach.apply(this, arguments);
1756 return this.detach(type);
1887 * You can monitor 'attach', 'detach', 'fire', and 'publish'.
1896 * @param what {String} 'attach', 'detach', 'fire', or 'publish'
2063 * @return detach handle