This project is archived and is in readonly mode.

#475 ✓invalid
Daniel Steigerwald

little element event enhancement

Reported by Daniel Steigerwald | November 15th, 2008 @ 08:24 PM | in 2.0 (closed)

Little element event enhancement for dynamic events (temporarily active).


toggleEvent: function(type, fn, add) {
	return add ? this.addEvent(type, fn) : this.removeEvent(type, fn);
},

toggleEvents: function(events, add) {
	return add ? this.addEvents(events) : this.removeEvents(events);
}

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages