@lacosanostra/ngx-cookie-consent
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

NgxCookieConsent

npm install @lacosanostra/ngx-cookie-consent

import { NgxCookieConsentModule } from '@lacosanostra/ngx-cookie-consent';
<lib-ngx-cookie-consent>
  This site uses cookies to analyse traffic, remember your preferences, and optimise your experience.
  <a href="privacy-policy.html" blank="_system">Learn more</a>
</lib-ngx-cookie-consent>

Add material icons to index.html. For the closing button to display correctly.

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

Places where the library was used.

This library was generated with Angular CLI version 8.0.3.

Build

Run ng build @lacosanostra/ngx-cookie-consent to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build @lacosanostra/ngx-cookie-consent, go to the dist folder cd dist/ngx-cookie-consent and run npm publish.

Running unit tests

Run ng test @lacosanostra/ngx-cookie-consent to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Package Sidebar

Install

npm i @lacosanostra/ngx-cookie-consent

Weekly Downloads

2

Version

0.0.9

License

none

Unpacked Size

28.5 kB

Total Files

17

Last publish

Collaborators

  • zniwus