Difference between revisions of "Event.new"
From GiderosMobile
Line 3: | Line 3: | ||
=== Description === | === Description === | ||
<translate><br /> | <translate><br /> | ||
− | Creates a new | + | Creates a new [[Event` object to be dispatched from an `EventDispatcher]].<br /> |
<br /></translate> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Line 11: | Line 11: | ||
'''type''': (string) <translate></translate> <br/> | '''type''': (string) <translate></translate> <br/> | ||
=== Return values === | === Return values === | ||
− | '''Returns''' (any) <translate>New | + | '''Returns''' (any) <translate>New [[Event]] object.</translate><br/> |
− | '''Returns''' (any) <translate>New | + | '''Returns''' (any) <translate>New [[Event]] object.</translate><br/> |
Revision as of 13:54, 23 August 2018
Available since: Gideros 2011.6
Description
Creates a new Event` object to be dispatched from an `EventDispatcher.
(any), (any) = Event.new(type)
Parameters
type: (string)
Return values
Returns (any) New Event object.
Returns (any) New Event object.