Table of Contents

EventDispatcher:removeEventListener

Available since version: Gideros 2011.6

Description:

Removes a listener from the EventDispatcher object. removeEventListener() function expects
the same arguments with addEventListener() to remove the event. If there is no matching listener
registered, a call to this function has no effect.

Syntax:

EventDispatcher:removeEventListener(type, listener, data)

Parameters:

  • type: (string) The type of event.
  • listener: (function) The listener object to remove.
  • data: The data parameter that is used while registering the event.

See Also: