Revision as of 19:54, 8 September 2021 by MoKaLux (talk | contribs) (formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2011.6
Class: EventDispatcher


Registers a listener function and an optional data value so that the listener function is called when an event of a particular type occurs.



type: (string) the type of event
listener: (function) the listener function that processes the event
data: (any) an optional data parameter that is passed as a first argument to the listener function optional