ionic-network-error-screen
v1.0.2
Published
ionic network error screen is a customized version for no internet screen in javascript library
Downloads
2
Readme
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. | String | | 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.