GlideTimeline - setAutoRefresh(Number intSeconds)

Specifies the number of seconds to wait before performing an auto refresh of the data on the timeline. Setting the number of seconds to 0 will turn auto refresh off. By default, auto refresh is disabled. If intSeconds is greater than 0 and less than the minimum allowed time in seconds (10), it will be set to 10 seconds.

Setting the number of seconds to 0 will turn auto refresh off. By default, auto refresh is disabled. If intSeconds is greater than 0 and less than the minimum allowed time in seconds (10), it will be set to 10 seconds.

Table 1. Parameters
Name Type Description
intSeconds Number An integer specifying the time in seconds between auto-refreshing.
Table 2. Returns
TypeDescription
void

glideTimeline.setAutoRefresh(15); // Sets the interval for auto-refreshing to 15 seconds.