Created on 01 July 2019
icon_unfollowing
Login to follow
debounce-mobile

Debounce Mobile

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

Debounce Mobile

Details
Adds a web block that enables debouncing on an input field.
Read more

THIS COMPONENT HAS BEEN REPLACED BY A NEW APPLICATION. PLEASE USE THIS ONE INSTEAD: 

https://www.outsystems.com/forge/component-overview/8272/debounce

----

A debounce limits the rate at which a function can fire. An example would be querying an API for project names. You have a search field and you query the API every time you input a character into the input field. Although this is not a difficult task it will produce unneeded calls since the user isn't probably done typing in its search key. Therefor we wait a small duration after each character typed before triggering the API call. Every keystroke resets the timer and prevents the API from being called.

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

Demo app is available.

Based upon the "Client Side Validation" component.

Release notes (1.0.0)
Reviews (0)
Category
User interface, Input & forms
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
See all 1 dependencies
Application Objects
Debounce Mobile has 0 AOs.
Team
Compatible with
Version 11
Database:
All
Asset consumers
No consumers yet.
Weekly downloads