# ResponsibilityQuickview

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.0.

## Code scaffolding

Run `ng generate component component-name --project responsibility-quickview` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project responsibility-quickview`.
> Note: Don't forget to add `--project responsibility-quickview` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build responsibility-quickview` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build responsibility-quickview`, go to the dist folder `cd dist/responsibility-quickview` and run `npm publish`.

## Running unit tests

Run `ng test responsibility-quickview` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

<h1 align="center">Responsibility Quick View</h1>

<h2 align="center">About</h2>
A Responsibility Quick View is a module that provides quick access to responsibility from anywhere throughout the application.

<h2 align="center">Getting started</h2>
<h1 align="center">Responsibility Quick View</h1>

<h2 align="center">About</h2>
A Responsibility Quick View is a module that provides quick access to responsibility from anywhere throughout the application.

<h2 align="center">Getting started</h2>

### Integration

```bash
npm install --save responsibility-quickview
```

Next import the Quick View module into your apps module:

```typescript
import { NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ResponsibilityQuickviewModule } from '@vcomply/responsibility-quickview';
import { environment } from '../../../environments/environment';


@NgModule({
  imports: [
    BrowserAnimationsModule,
    ResponsibilityQuickviewModule.forRoot({ envConfig: environment }),
  ],
})
export class MyModule {}
```

<h2 align="center">Documentation</h2>

### Attributes (Input):

| Input           | Type                     | Description                                        |
| --------------- | -------------------------|----------------------------------------------------|
| features        | Object                   | Feature service can be injected in this 
| id              | String                   | Responsibility Object Id 

### Attributes (Output):

| Input           | Type                     | Description                                        |
| --------------- | -------------------------|----------------------------------------------------|
| close         | Boolean                    | If any action happened which lead on refreshing page  |

