Skip to main content

Bug Tracker

Side navigation

#14194 closed feature (notabug)

Opened July 28, 2013 10:56AM UTC

Closed July 28, 2013 04:02PM UTC

Last modified July 28, 2013 04:40PM UTC

namespace in events

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

I think this would be very useful and can prevent conflict between plugins. Example of how it could work:

var $el = $('#my-element');

$el.on('click', function () {...});

$el.on('', function () {...});
$el.on('mySlide.prev', function () {...});

$'mySlide'); //unbinds all events within this namespace (next and prev)

All the best.

Oscar Otero

Attachments (0)
Change History (2)

Changed July 28, 2013 04:02PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

We've got this already.

Changed July 28, 2013 04:40PM UTC by comment:2

Ops, that's fantastic.

Sorry for waste your time.