[JavaScript Timing Events] How Can I use this Plugin any sample pls?

Forge Component
(2)
Published on 2017-09-26 by Hélio Dolores
2 votes
Published on 2017-09-26 by Hélio Dolores

In my mobile application I would like to  know the idle time i.e. where the user did not touch to app screen,

Once the idle team reach need to show an alert.

Is there any background process by which we can get idle time?


Thanks In Advance,

Hi Ramesh,

The behavior you need to implement cannot be done using this API. 

You have to build a custom Javascript component that attaches to the window touch events.

You can look at this sample code and understand how you can code in javascript (check the javascript node) in the platform.

Best regards,

Hélio

Hélio Dolores wrote:

Hi Ramesh,

The behavior you need to implement cannot be done using this API. 

You have to build a custom Javascript component that attaches to the window touch events.

You can look at this sample code and understand how you can code in javascript (check the javascript node) in the platform.

Best regards,

Hélio

Hi 

Thank you for the reply.


Can you please provide the sample code?


Thanks;

Ramesh,