Meteor.status on disconnect?

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

Thank you

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.

Just what i was looking for…

Thank u

1 Like