off
off(type, [selector], function(e){ ... }) ⇒ self
off({ type: handler, type2: handler2, ... }, [selector]) ⇒ self
off(type, [selector]) ⇒ self
off() ⇒ self
Detach event handlers added with on. To detach a specific event handler,
the same function must be passed that was used for on()
. Otherwise, just
calling this method with an event type will detach all handlers of that type.
When called without arguments, it detaches all event handlers registered on
current elements.