ngx-sand-internet-status
v0.1.0
Published
<!--  --> <h1 align='center'>ngx-sand-internet-status</h1>
Readme
Demo

Table of contents
Features
Getting Started
Step 1 : Install the package
NPM
npm install ngx-sand-internet-statusStep 2 : After installation import into your root or feature module
import { NgxInternetStatusModule } from 'ngx-internet-status'Step 3 : Add NgxInternetStatusModule to the imports of your NgModule
@NgModule({
imports: [
...,
NgxInternetStatusModule
],
...
})
class YourModule { ... }Usage
Use
in your templates to add the default dropdown in your view like below
API
Input
settings:Object- Settings object to change the default configurations.
settings = {
type :'banner',
onlineTitle:'Seems good',
offlineTitle:'Connection error',
onlineText:'Hurray! You are back online',
offlineText:'Oops! Looks like you are offline',
}Output
Help Improve
Found a bug or an issue with this? Open a new issue here on GitHub.
Contribute
Please check the Contributing Guidelines before contributing.
This project was generated with Angular CLI version 10.0.5.
