Preloader with message in V2?


#1

Hello,

I have to say, the doc is not easy with Framework 7. More templates and fully examples are needed as “download” so people can get up and running fast.

Right now I am trying to show a simple preloader with message but no luck:
app.preloader.show(’'my message here);

Any idea how to do this please? I am not understanding the doc on this one.

Thank you


#2

Ok for anyone looking for one, here it is(v2)

app.dialog.progress('Connecting...');

To stop it:

app.dialog.close();


#3

Hi Benny_Yo,

I was looking into the same problem and thanks to your suggestion I got to the solution.
Instead of

app.dialog.progress(‘Connecting…’);

you should use

app.dialog.preloader(‘Connecting…’);


#4

You are welcome :slight_smile: I wish the doc was a lot easier…