2022-05-31 22:21:59 +04:00
|
|
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-svg-images',
|
|
|
|
templateUrl: './svg-images.component.html',
|
|
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
|
|
})
|
|
|
|
export class SvgImagesComponent {
|
2022-06-05 22:29:05 +04:00
|
|
|
randomId = Math.floor(Math.random() * 10000);
|
2022-05-31 22:21:59 +04:00
|
|
|
@Input() name: string;
|
|
|
|
@Input() class: string;
|
|
|
|
@Input() style: string;
|
|
|
|
@Input() width: string;
|
|
|
|
@Input() height: string;
|
|
|
|
@Input() viewBox: string;
|
|
|
|
}
|