This widget can be used as a layer on top of the page which can simulate the "swipe to unlock" behavior in mobile devices. Right after swiping, it disappears and triggers an "unlocked" event, which can be used to refresh screen data or make the screen "enabled" again. The demo showcases this.
The block works in Mobile apps and Reactive apps in mobile/tablet mode.
Built with pure JS and CSS.
Disclaimer: This component is meant to be used in mobile, so it uses JS touch events. Please use a mobile view of the browser to test the pattern.
- In the previous release, when the swiping action was completed, the "Unlocked" event was being triggered multiple times unnecessarily. This is now fixed with this release.
- The JavaScript error received upon click of the "Refresh" button is fixed.
- OutSystemsUI version for the Demo app is upgraded to 2.23.0