https://github.com/robertobdev/ionic-utils
A ionic provider to easier your life
https://github.com/robertobdev/ionic-utils
Last synced: 4 months ago
JSON representation
A ionic provider to easier your life
- Host: GitHub
- URL: https://github.com/robertobdev/ionic-utils
- Owner: robertobdev
- Created: 2018-05-08T00:01:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-18T16:34:35.000Z (almost 8 years ago)
- Last Synced: 2025-10-22T05:21:23.404Z (5 months ago)
- Language: TypeScript
- Size: 14.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ionic-utils
A ionic provider to easier your life, wrap Ionic components to write less code.
# Ionic Components
* AlertController
* LoadingController
# install
```sh
npm i ionic-utils --save
```
# Module
```javascript
import { UtilsProvider } from 'ionic-utils';
@NgModule({
providers: [
UtilsProvider,
],
})
```
* makeAlert(title, message)
* makeLoading(message)
## makeAlert(title, message)
Returns a alert to information something to the users
#### Parameters
- __title__: The title for the alert.
- __message__: The message for the alert.
## makeLoading(message)
Display a loading indicator to show the users something are loading
#### Parameters
- __message__: The message for the loading indicator.