bind

  • function
 

obj.bind( event, handler )

Add a basic event listener to an object.

This is an alias of addEvent.

can.event.bind.call( obj, event, handler )

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