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?