0.0.2 • Published 6 years ago
ionic-utils v0.0.2
A simple crud with react and react material
ionic-utils
A ionic provider to easier your life, wrap Ionic components to write less code.
Ionic Components
AlertController
LoadingController
install
npm i ionic-utils --save
Module
import { UtilsProvider } from 'ionic-utils';
@NgModule({
providers: [
UtilsProvider,
],
})
Methods
- [.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.