Stop listening for events on an object.
can.unbind.call(target, eventName, handler)
The object that emits events.
The name of the event to listen for.
The function to unbind.
can.unbind(eventName, handler)unbinds a callback handler from an object for a given event. It works on:
The idea is that
can.unbindcan be used on anything that produces events and it will figure out the appropriate way to unbind to it. Typically,
can.unbindis only used internally to CanJS; however, if you are making libraries or extensions, use
can.bindto listen to events independent of the underlying library.
Binding/unbinding to an object
Binding/unbinding to an HTMLElement