You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
471 B
23 lines
471 B
import { Component, OnInit } from '@angular/core'; |
|
|
|
@Component({ |
|
selector: 'app-image-label', |
|
templateUrl: './image-label.component.html', |
|
styleUrls: ['./image-label.component.scss'] |
|
}) |
|
export class ImageLabelComponent implements OnInit { |
|
|
|
constructor() { } |
|
|
|
imgItem: any |
|
|
|
ngOnInit(): void { |
|
|
|
} |
|
heightCount() { |
|
let style: any = {} |
|
let height = document.documentElement.clientHeight |
|
style.height = (height - 180) + 'px'; |
|
return style |
|
} |
|
}
|
|
|