Skip to content
Snippets Groups Projects
Commit 75065302 authored by fsdavid's avatar fsdavid
Browse files

addcookieAgreement component

parent 73d9f76b
No related branches found
No related tags found
No related merge requests found
import { Component } from '@angular/core'
import { BsModalService } from 'ngx-bootstrap/modal/bs-modal.service';
@Component({
selector: 'cookie-agreement',
templateUrl: './cookieAgreement.template.html',
styleUrls: [
'./cookieAgreement.style.css'
]
})
export class CookieAgreement {
showMore = false;
constructor(private modalService: BsModalService,) {}
AgreeCookies() {
localStorage.setItem('cookies', 'agreed');
this.modalService.hide(1);
}
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment