@inax/loggerui
v0.2.29
Published
module for inax loggerui service
Downloads
382
Readme
@inax/loggerui
module for inax loggerUi service
Install
You can install this package with npm.
npm
npm install @inax/loggerui
Documentation
To use the loggerUi, you need to:
- import the
LoggerUiModule
in yourAppModule
- import the
InaxConsoleService
from@inax/loggerui
and inject it into yourAppComponent
- add the
InaxConsoleComponent
to some page in your project. The component tries to fill all of the available space, so you should wrap it in adiv
-Element if you want it to have a specific size. Please ensure that the available space is big enough to properly display the console,width
should be at least500px
andheight
should be at least300px
. Also, the height should be a fixed value so the container does not scale with its contents, because this causes the whole component to grow in height instead of having a scrollbar appear in it.
Example:
// app.module.ts
@NgModule({
imports:
[
...,
LoggerUiModule // <--
]
})
export class AppModule { ... }
// app.component.ts
@Component({
...
})
export class AppComponent{
constructor(
private _consoleService: InaxConsoleService // <--
){
...
}
}
<!-- someTemplate.html -->
<div class="inax-console-wrapper"> <!-- add width/height property for the class in your css respectively -->
<inax-console></inax-console>
</div>
License
Copyright (c) insite-gmbh. All rights reserved.
See License in the project root for license information.