Meteor.status on disconnect?


#1

Hello how can i for example show a popup whenever Meteor.Status=Disconnected?

Thank you


#2

There are other similar packages as well. If you check the source for any one of them, you’ll easily see the pattern.

Basically, you create a helper that returns true when status is disconnected and in your main outermost layout template, you put your warning display code within an if block that runs the helper.


#3

Just what i was looking for…

Thank u