2.0.5 • Published 7 years ago

ng-neo-modal v2.0.5

Weekly downloads
13
License
MIT
Repository
github
Last release
7 years ago

ng-neo-modal

Modal replacement for javascript's popup boxes

Installation

To install this library, run:

$ npm install ng-neo-modal --save

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import library
import { NeoModalModule } from 'ng-neo-modal';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify library as an import
    NeoModalModule.forRoot()
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once your library is imported, inject service

constructor(neoModalService: NeoModalService){}

// In any function

this.neoModalService.alert('This is an alert');

License

MIT © Neocomplexx

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago