trigger

  • function
 

obj.trigger( event, args )

Dispatches/triggers a basic event on an object. This is an alias of dispatch.

can.event.trigger.call( obj, event, args )

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