@ngrx/store-log-monitor

3.0.2 • Public • Published

@ngrx/store-log-monitor

Join the chat at https://gitter.im/ngrx/store

Port of redux-devtools-log-monitor for Angular 2 and @ngrx/store-devtools

Setup

Install @ngrx/store-log-monitor from npm

npm install @ngrx/store-log-monitor --save

Configure the monitor when instrumenting store

import { StoreDevtoolsModule } from '@ngrx/store-devtools';
import { StoreLogMonitorModule, useLogMonitor } from '@ngrx/store-log-monitor';

@NgModule({
  imports: [
    StoreDevtoolsModule.instrumentStore({
      monitor: useLogMonitor({
        visible: true,
        position: 'right'
      })
    }),
    StoreLogMonitorModule
  ]
})
export class AppModule { }

Use the StoreLogMonitor component in your app

@Component({
  selector: 'app',
  template: `
    <ngrx-store-log-monitor toggleCommand="ctrl-h" positionCommand="ctrl-m"></ngrx-store-log-monitor>
  `
})
export class AppComponent { }

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.2170latest

Version History

VersionDownloads (Last 7 Days)Published
3.0.2170
3.0.10
3.0.02
2.0.0-beta.10

Package Sidebar

Install

npm i @ngrx/store-log-monitor

Weekly Downloads

172

Version

3.0.2

License

MIT

Last publish

Collaborators

  • brandonroberts
  • mikeryan52
  • robwormald
  • ngrxadmin