JSPM

ngrx-modal

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q18338F
  • License MIT

Package Exports

  • ngrx-modal

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngrx-modal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ngrx-modal

Travis

Handle presenting modal dialogs via NgRx store.

Installation

npm install ngrx-modal --save

yarn add ngrx-modal

##Setup

import { NgrxModalModule } from 'ngrx-modal';
import { AppComponent } from './app.component';

@NgModule({
  imports: [
    BrowserModule,
    NgrxModalModule.forRoot({
      stateKey: 'modal'
    })
  ],
  bootstrap: [AppComponent],
})
export class AppModule {}
  • stateKey: The name of reducer key, defaults to modals