Difference between revisions of "EventDispatcher:hasEventListener"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/EventDispatcher|EventDispatcher]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/EventDispatcher|EventDispatcher]]<br/> |
Revision as of 09:59, 3 September 2018
Available since: Gideros 2011.6
Class: EventDispatcher
Description
Checks if the EventDispatcher object has a event listener registered for the specified type of event.
(bool) = EventDispatcher:hasEventListener(type)
Parameters
type: (string) The type of event.
Return values
Returns (bool) A value of true if a listener of the specified type is registered; false otherwise.