0.0.9 • Published 10 months ago

ngx-mat-third-party-licenses-list-view v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

ngx-mat-third-party-licenses-list-view

  • This library adds a script to postinstall and postuninstall in package.json that generates third-party-licenses.json
  • This library provides a ListView of third-party licences based on third-party-licenses.json
  • This library adds public/third-party-licenses.json to .gitignore

Installation

ng add ngx-mat-third-party-licenses-list-view

Example

licenses.component.ts

...
import { NgxMatThirdPartyLicensesListViewComponent, License } from 'ngx-mat-third-party-licenses-list-view';
import _licenses from '../../public/third-party-licenses.json';

@Component({
  ...
  imports: [..., NgxMatThirdPartyLicensesListViewComponent],
  templateUrl: './licenses.component.html',
  styleUrl: "./licenses.component.css",
})
export class LicensesComponent {
  licenses = _licenses as License[];
}

licenses.component.html

...
<main>
  <ngx-mat-third-party-licenses-list-view [licenses]="licenses" />
</main>
...

licenses.component.css

main {
  width: calc(100% - 22px);
  max-width: 600px;
  margin: 0 auto;
}

Screenshot

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago