offline-banner
v0.0.5
Published
It detects whether frontend is able to connect to backend.
Downloads
9
Readme
OfflineBanner
This library will show a banner at the top of the page is frontend couldn't connect to backend.
Usage
Import
OfflineBannerModule.forRoot(<url>)in your project. 'Url' should be your health check url. This is the url, library will request and figure out whether your frontend connects to backend or not.Add this tag
<offline-banner></offline-banner>to the top of your app.component.html file.
