Difference between revisions of "EventDispatcher:hasEventListener"

From GiderosMobile
(----)
Line 15: Line 15:
 
'''Returns''' (bool) A value of ''true'' if a listener of the specified type is registered; ''false'' otherwise.<br/>
 
'''Returns''' (bool) A value of ''true'' if a listener of the specified type is registered; ''false'' otherwise.<br/>
  
----
+
{{EventDispatcher}}
{{Special:PrefixIndex/EventDispatcher}}
 
<br/>
 
 
 
{{Special:PrefixIndex/Event.APPLICATION}}
 
{{Special:PrefixIndex/Event.MEMORY}}
 
{{Special:PrefixIndex/Event.OPEN}}
 
<br/>
 

Revision as of 01:35, 3 December 2019

Available since: Gideros 2011.6
Class: EventDispatcher

Description

Checks if the EventDispatcher object has an 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.