Página 1 de 1

How to refresh page after a few seconds

Publicado: 30 Jun 2018 09:46
por mecivic
Hi
I am using Ceone's Battery example and have changed a few things.
I would like the battery to refresh say every 10 seconds.
How can I do this.
I have tried with Timers but no luck.

https://mega.nz/#!1EBlgAIK!HvIodyWl3AAM ... o] refresh

Re: How to refresh page after a few seconds

Publicado: 01 Ago 2018 06:23
por Dow Sher
Debes trabajar con el evento "On Timer" de la página, crea una función que haga el cambio de datos y solo configura que se ejecute cada cierto tiempo.