Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Outsystems mobile hold touch event

$
0
0

Hi Eric,

On my example, I didn't use the TouchEvents block. 

Ok, let's go through your questions 1 by one

  1. Nop, on my example i was using OnTouchStart and OnTouchEnd events from the events properties present on the container, please see below image:
  2. You can run javascript code on client actions by using the Javascript node. The image below is not tested code, just to exemplify how you can achieve it 

  3. The handler is the one that it's present on the first image, where you pick which action will handle the OnTouchEnd. There you should cancel the timeout, so the action OpenPopup() doesn't run

  4. --

  5. For "do your code" i meant your business logic. On this example we were opening a popup, so on the OpenPopup action you should set the variable that controls the popup to true so the popup appear.


Let me know if it helped.


Cheers,


Viewing all articles
Browse latest Browse all 1476385

Latest Images

Trending Articles



Latest Images