Difference between revisions of "Event.new"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/Event|Event]]<br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<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 12: | ||
'''type''': (string) <translate></translate> <br/> | '''type''': (string) <translate></translate> <br/> | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
− | '''<translate>Returns</translate>''' (any) <translate>New | + | '''<translate>Returns</translate>''' (any) <translate>New `Event` object.</translate><br/> |
− | '''<translate>Returns</translate>''' (any) <translate>New | + | '''<translate>Returns</translate>''' (any) <translate>New `Event` object.</translate><br/> |
Revision as of 09:27, 24 August 2018
Available since: Gideros 2011.6
Class: Event
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.