Page 1 of 1

Setting up a splash screen

Posted: Sun Mar 04, 2012 10:04 pm
by sam.wiltshire

Hi there

I am trying to set up a screen popup as a splash screen with a 3 second delay before going through to the home screen, however, I cant see any timed event that I can use.

As you can probably guess I am quite a newbie to Tiggzi.

Thanks in advance for your help.

Sam


Setting up a splash screen

Posted: Sun Mar 04, 2012 11:18 pm
by maxkatz

On splash screen load, run this JavaScript:

code
setTimeout(function() {navigateTo ('screen_name');},3000);
/code


Setting up a splash screen

Posted: Thu Mar 08, 2012 11:37 pm
by sam.wiltshire

Ah thanks for that! Worked a charm.


Setting up a splash screen

Posted: Sat Mar 31, 2012 12:48 pm
by imeasangansi

Newbie here. Please where do you paste this code?


Setting up a splash screen

Posted: Fri Oct 09, 2015 7:03 am
by zaik

How can I add delay in ionic angularJs ?


Setting up a splash screen

Posted: Sun Oct 11, 2015 7:39 pm
by Serhii Kulibaba

Hello,

Please use JS below:

prevar $timeout = Apperyio.get("$timeout");
$timeout(function() {
alert("Hello World!");
},1000);/pre