removeEvent
obj.removeEvent( event, handler )
Removes a basic event listener from an object.
Parameters
-
event
{String}The name of the event to listen for.
-
handler
{function()}The handler that will be executed to handle the event.
-
__validate
{function()}OptionalAn extra function that can validate an event handler as a match. This is an internal parameter and only used for
can/eventplugins.
Returns
{Object}
this
can.event.removeEvent.call( obj, event, handler )
This syntax can be used for objects that don't include the can.event mixin.