footer.component.ts
781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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) { }
ngOnInit() { }
goBack() {
this.location.back();
}
reducirPantalla() {
$(`body,
.reduce-card-1,
.reduce-card-2,
#content,
.cat-content,
.cat-btn,
.cat-box,
#boxCarrito,
#headerPublicidad,
#headerPad,
.img-categoria,
.carrito-articulo,
.carrito-content,
.pago-tarjeta,
.modal-promo,
.modal-content,
.qr-mt`)
.toggleClass('media-pantalla');
}
}