ngx-sand-internet-status
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

ngx-sand-internet-status

An angular internet status checker


GitHub release GitHub last commit GitHub issues GitHub pull requests ESLint ESLint ESLint Codesize Top Language


Demo

Table of contents

Features

Goto Top

Getting Started

Step 1 : Install the package

NPM

npm install ngx-sand-internet-status

Step 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

Goto Top

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

Goto Top

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.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i ngx-sand-internet-status

    Weekly Downloads

    0

    Version

    0.1.0

    License

    none

    Unpacked Size

    148 kB

    Total Files

    24

    Last publish

    Collaborators

    • sandeepbalachandran