debounce-mobile
Mobile icon

Debounce Mobile

Deprecated
Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 01 July 2019
 by 
0.0
 (0 ratings)
debounce-mobile

Debounce Mobile

Documentation
1.0.0

Debounce main function is to provide a waiting period before an action is executed. This user flow is most used in modern applications that behave without explicit actions like pressing a button. The action that is delayed can be perform anything like starting an calculation or calling a REST service. 

The reason we want to wait a small period before starting the action is that the person typing in the is perhaps not finished typing and we don't want to call a REST service with incomplete data or recall the same REST within moments with an updated search key. These actions will only slow down your app and provide a poor performance. 

Usage:

  • Place the web block after the input field in question
  • Fill in the widget id of the input field
  • (optional) Fill in a wait duration (default is 350ms)
  • Create a client action for the RunAction event and define your query logic in this client action