booble-modal
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Install

npm install --save booble-modal

Usage

At app.module

 
 import { BoobleModalModule } from 'booble-modal';
 
@NgModule({
   declarations: [
      AppComponent,
      TesteComponent
   ],
   entryComponents: [
      TestComponent // Add your custom modal component here
   ],
   imports: [
      BrowserModule,
      BoobleModalModule
   ],
   providers: [],
   bootstrap: [
      AppComponent
   ]
})

Then at component

    import { BoobleModal } from 'booble-modal';
 
 
    constructor(private modalServiceBoobleModal) {
 
    }
 
    ngOnInit()void {
        this.modalService.open(TestComponent);
        this.modalService.close();
 
    }

Package Sidebar

Install

npm i booble-modal

Weekly Downloads

2

Version

1.0.3

License

none

Unpacked Size

59.5 kB

Total Files

23

Last publish

Collaborators

  • alvesrickson