Timer

From HTML5 Builder
Jump to: navigation, search

The Timer component triggers a client-side event after a defined amount of time.

Client-side Features

Client-side Events

OnTimer

Event that gets triggered each Interval of time.

Client-side Functions

Note: In order to call these functions, prefix them with ComponentName_. For example: Timer1_FunctionName();.

DisableTimer

Stops the triggering of OnTimer events.

EnableTimer

Starts the triggering of OnTimer events.

Server-side Features

Properties

In addition to its own properties (documented below), this component also inherits the following properties:

Enabled

Whether the component should start generating OnTimer events right after it is loaded (true), or if is should be enabled manually on the client with EnableTimer (false).

Interval

The amount of time, in milliseconds, that passes before the component triggers another OnTimer event.