@mbamobi/mural-ionic
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

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

Package Sidebar

Install

npm i @mbamobi/mural-ionic

Weekly Downloads

1

Version

0.0.6

License

SEE LICENSE IN LICENSE

Last publish

Collaborators

  • danielluz
  • adminmba
  • cimbamobi