Skip to content

NathanWalker/ngrx-devtools-nativescript

 
 

Repository files navigation

#ngrx-devtools-nativescript Implementation of a devtools monitor similar to those available in @ngrx/store-devtools for NativeScript.

How to use

First of all you should instrument your @ngrx/store using StoreDevtoolsModule.instrumentStore(...). Check out @ngrx/devtools readme for how to do that.

Include <ns-dock-monitor> component inside you application - preferably in the root of the visual tree.

import { NSDockMonitor } from "ngrx-devtools-nativescript";

@Component({
    selector: "my-app",
    directives: [NSDockMonitor],
    template: `
    <grid-layout>
        //...
        <ns-dock-monitor screenCover="0.5"></ns-dock-monitor>
    </grid-layout>`
})
export class AppComponent {
    //...
}

You can specify what part of the screen should be covered by the dev-tools slideout with the screenCover proeprty.

Example

Example projects:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%