@mbamobi/mural-ionic
v0.0.6
Published
Componente de mural para ionic
Downloads
4
Readme
MuralModule
Componente de mural (telas + provider) para ionic
Using in an Ionic 2 app
import { NgModule } from '@angular/core';
import { IonicApp, IonicModule } from 'ionic-angular';
import { MyApp } from './app.component';
// import MuralComponentModule
import { MuralComponentModule } from '@mbamobi/mural-ionic';
@NgModule({
declarations: [
MyApp
],
imports: [
IonicModule.forRoot(MyApp),
MuralComponentModule.forRoot()
],
bootstrap: [IonicApp],
entryComponents: [
MyApp
]
})
É possível passar um provider personalizado.
import { BaseProvider } from '@mbamobi/mural-ionic';
export class CustomProvider implements BaseProvider {
}
@NgModule({
declarations: [
MyApp
],
imports: [
IonicModule.forRoot(MyApp),
MuralComponentModule.forRoot(CustomProvider)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp
]
})
Contributing
See CONTRIBUTING.md