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
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 tomodals