Difference between revisions of "EventDispatcher:removeEventListener"
From GiderosMobile
(----) |
|||
Line 17: | Line 17: | ||
'''data''': (any) The data parameter that is used while registering the event. <br/> | '''data''': (any) The data parameter that is used while registering the event. <br/> | ||
− | + | {{EventDispatcher}} | |
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 01:35, 3 December 2019
Available since: Gideros 2011.6
Class: EventDispatcher
Description
Removes a listener from the EventDispatcher object.
removeEventListener() function expects the same arguments than the addEventListener() to remove the event. If there is no matching listener registered, a call to this function has no effect.
EventDispatcher:removeEventListener(type,listener,data)
Parameters
type: (string) The type of event.
listener: (function) The listener object to remove.
data: (any) The data parameter that is used while registering the event.