ionic-network-error-screen

1.0.2 • Public • Published

ionic-network-error-screen

Ionic network error screen is a customized version for no internet screen in javascript library

Install

bower install https://gitlab.com/tsi-mobile-team/ionic/utilities.git

OR

bower install ionic-internet-error-screen --save

Install - Dependencies

ionic cordova plugin add cordova-plugin-network-information

Dependencies Install Documents

cordova-plugin-network-information

Usage

Load the script files in your application:

<script src='lib/ionic-network-error-screen/network-error-screen.js'></script>

After adding script tag, need to add the element to inside body tag of root file

<detect-network ng-show="networkStatus" network-options="{ 'heading': 'Internet Connectivity Error', 'content': 'Wifi or cellular network unavailable. Try again later' }"></detect-network>

Documentation

Props

Name Description Default Type
heading Your custom heading here. Internet Connectivity Error Your custom heading here.
content Your custom content here. Wifi or cellular network unavailable. Try again later. String

Contributing

Pull requests are always welcome! Feel free to open a new GitHub issue for any changes that can be made.


Readme

Keywords

none

Package Sidebar

Install

npm i ionic-network-error-screen

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

4.35 kB

Total Files

4

Last publish

Collaborators

  • karthiktender