Give us feedback
timer
Web icon

Timer

Stable version 1.0.1 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 24 May 2018 by 
5.0
 (1 rating)
timer

Timer

Documentation
1.0.1

This component consists of 3 separate webblocks which are used to provide a oneshot timer event, a repeating timer event and a special event that forces a full browser refresh when the browser back function is used

SingleTimer 

Add this webblock anywhere on your page, set the TimerInterval to the number of milliseconds you wish to wait and the notify event to the action that you want to call at the end of the timer. 

Once the timerInterval has been reached the notification event will be called and no further events will be issued. Note that if you place this webblock inside a container that is refreshed then the timer will reset and restart.

IntervalTimer

Add this webblock anywhere on your page, set the TimerInterval to the number of milliseconds you wish to wait and the notify event to the action that you want to call at the end of the timer. 

Once the timerInterval has been reached the notification event will be called and then the timer will automaticaly reset and start again. Note that if you place this webblock inside a container that is refreshed then the timer will reset and restart. 

BackRefresh

Add this webblock anywhere on your page and if the browser detects that it is being navigated to via a browser back function then a page reload will be executed. This is particularly useful in situations such as master-details pages where you want to force the master list to refresh instead of using the browsers cached data.