Crafty.removeEvent()

public this Crafty.removeEvent(Object ctx, HTMLElement obj, String event, Function callback)
ctx

Context of the callback or the value of this

obj

Element the event is on

event

Name of the event

callback

Method executed when triggered

Removes events attached by Crafty.addEvent(). All parameters must be the same that were used to attach the event including a reference to the callback method.