Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Can see [hidden] component for short time on page loading

$
0
0

@icarus_31 wrote:

Hi,

On a page, I have some items that will be hidden depending of the data that will be retrieved from a SQlite database.

Right now, when the page loads I see my hidden items for a really short moment and disappear when the condition is reached.

How can I make sure that when the page loads, everything that should be hidden does not show up? I think there was something in angular 1 called "cloak" or something similar, no?

The [hidden] condition is waiting from something on my SQlite database, so I need that platform to be ready (this.platform.ready().then()).

I tried to put that code inside the constructor. Did not work.

I tried in the onPageWillEnter(). Did not work

I tried in the onPageLoaded(). Did not work.

What else can I try?

Thanks

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>