sam.wiltshire
Posts: 0
Joined: Thu Mar 01, 2012 11:33 pm

Setting up a splash screen

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Setting up a splash screen

On splash screen load, run this JavaScript:

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

sam.wiltshire
Posts: 0
Joined: Thu Mar 01, 2012 11:33 pm

Setting up a splash screen

Ah thanks for that! Worked a charm.

imeasangansi
Posts: 0
Joined: Fri Mar 30, 2012 11:39 pm

Setting up a splash screen

Newbie here. Please where do you paste this code?

zaik
Posts: 0
Joined: Wed Sep 09, 2015 7:15 am

Setting up a splash screen

How can I add delay in ionic angularJs ?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Setting up a splash screen

Hello,

Please use JS below:

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

Return to “Issues”