footer.component.ts 604 Bytes
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';

@Component({
  selector: 'app-footer',
  templateUrl: './footer.component.html',
  styleUrls: ['./footer.component.scss']
})

export class FooterComponent implements OnInit {
  
  
  constructor(private location: Location) {
    $(document).ready(function(){
      $("#test").click(function(){
        $("body,#card1,#card2,#content,#catContent,#headerPub,#headerPad,.cat-btn,#cancelImg,#cancelCard").toggleClass("lash");
      });
    });

  }

  ngOnInit() {}

  goBack() {
    this.location.back();
  }
}