• function

obj.removeEvent( event, handler )

Removes a basic event listener from an object.


  1. event {String}

    The name of the event to listen for.

  2. handler {function()}

    The handler that will be executed to handle the event.

  3. __validate {function()}Optional

    An extra function that can validate an event handler as a match. This is an internal parameter and only used for can/event plugins.



this obj, event, handler )

This syntax can be used for objects that don't include the can.event mixin.