Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Expose StoreLogMonitorComponent so it can be downgraded for Angular 1 #28

Open
gregjacobs opened this issue Jun 25, 2017 · 0 comments
Open

Comments

@gregjacobs
Copy link

Hey, just trying to put the log monitor into the root html context of our Angular1/Angular2 hybrid app, but because StoreLogMonitorComponent is not exported, I don't have access to it to downgrade it.

Basically trying to do this:

import { StoreLogMonitorComponent } from '@ngrx/store-log-monitor';

angular.module( 'myA1App' )
    .directive( 'ngrxStoreLogMonitor', downgradeComponent( {
        component: StoreLogMonitorComponent,
        inputs: [ 'toggleCommand', 'positionCommand' ]
    } );

Could you add the StoreLogMonitorComponent component class as an export from index.ts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant