utpl-cookies
v0.0.12
Published
Developed within the Application Architecture Department at UTPL, this project is an adaptation of a component originally created by [jfeltkamp] (https://github.com/jfeltkamp/cookiesjsr). The original component was designed for managing cookies on a webpa
Downloads
481
Readme
Utpl Cookies
Developed within the Application Architecture Department at UTPL, this project is an adaptation of a component originally created by [jfeltkamp] (https://github.com/jfeltkamp/cookiesjsr). The original component was designed for managing cookies on a webpage, and we have adjusted it for functionality within an Angular 15 environment.
Installation
- First install on your project:
ng build utpl-cookies
#oryarn add utpl-cookies
- In the index.html file, append the following in the header section:
<link rel="stylesheet" media="screen" href="https://cdn.jsdelivr.net/gh/jfeltkamp/cookiesjsr@1/dist/cookiesjsr.min.css" />
Usage
Add the utpl-cookies module to your app.module.ts as a provider:
//Import library
import {UtplCookiesModule} from 'utpl-cookies';
@NgModule({
imports: [
UtplCookiesModule
],
Then, add selector id on your component html (layout):
<utpl-cookies> </utpl-cookies >
That's it!
Demo
Custom config
Custom actions
Further help
For any issues or questions, feel free to reach out to our support team:
Diego Sarmiento Email: [email protected]
Felipe Quiñonez Email: [email protected]