off
A shorthand method for unbinding an event.
obj.on( event, handler [, queue] )
Listen to when obj dispatches an event, a onKeyValue
change, or a onValue change in that order.
As this is the legacy .on, it will look for an .addEventListener
method on the obj first, before looking for the can.onKeyValue
and then can.onValue symbol.
Parameters
- eventName
{String}: - handler
{function}: - queue
{String}:
Returns
{Any}:
The object on was called on.