@ionic-admin/ui
v0.0.13
Published
Simple utility to speed up UI development with Ionic Framework + Angular.
Downloads
7
Readme
Ionic Admin UI
Simple utility to speed up UI development with Ionic Framework + Angular.
| | | | | -------------- | --------- | ---------- |
Features
- Create and present components using Ionic controllers(Nav, Alert, Modal, Toast, Popover and Loading) in one call and one import.
- Predefined Settings: Configure the way your app communicates and avoid repeating itself.
- Save time using ready components for common features through modal/popover components.
Installation
Install Ionic Admin UI with npm
npm install @ionic-admin/ui
Add IonicAdminUiModule.forRoot()
to your AppModule
imports and start using the services.
Roadmap
- [x] Generate basic library structure
- [x] Generate configurable/publishable module
- [x] UiService: Nav/Modal/Toast/Alert/Loading/Popover controllers simplified.
- [ ] Create common components to open with modal/popover:
- [ ] List: Items with features: search, filter, sort, single/multiple selection
- [ ] Add tests
Services
UiService
Library to simplify the use of Ionic controllers: Nav, Alert, Toast, Modal, Popover and Loading.
Usage/Examples
import { UiService } from '@ionic-admin/ui'
constructor(private ui: UiService){ }
showAlert(){
this.ui.alert({ message: 'Worked' })
}
showToast(){
this.ui.toast({ message: 'Worked!' })
}
License
Feedback
If you have any feedback, please get in touch via twitter: @leoruhland