Difference between revisions of "Timer.new"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Creates a new [[Special:MyLanguage/Timer|Timer]] object with the specified delay and repeatCount states.<br />
 
Creates a new [[Special:MyLanguage/Timer|Timer]] object with the specified delay and repeatCount states.<br />
Line 8: Line 8:
 
  Timer.new(delay,repeatCount)
 
  Timer.new(delay,repeatCount)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''delay''': (any) <translate>The time interval between timer events in milliseconds.</translate> <br/>
 
'''delay''': (any) <translate>The time interval between timer events in milliseconds.</translate> <br/>
 
'''repeatCount''': (default = 0) <translate>The number of repetitions. A value of 0 runs the timer infinitely. If nonzero, the timer runs the specified number of times and then stops.</translate> <br/>
 
'''repeatCount''': (default = 0) <translate>The number of repetitions. A value of 0 runs the timer infinitely. If nonzero, the timer runs the specified number of times and then stops.</translate> <br/>

Revision as of 07:28, 24 August 2018

Available since: Gideros 2011.6

Description


Creates a new Timer object with the specified delay and repeatCount states.

 Timer.new(delay,repeatCount)

Parameters

delay: (any) The time interval between timer events in milliseconds.
repeatCount: (default = 0) The number of repetitions. A value of 0 runs the timer infinitely. If nonzero, the timer runs the specified number of times and then stops.