blob: b837667b0e1a8c76291687339770354a544aa253 (
plain) (
blame)
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
|
import { Component, Input, OnInit } from '@angular/core';
import Model from 'src/app/_data/Model';
@Component({
selector: 'app-item-model',
templateUrl: './item-model.component.html',
styleUrls: ['./item-model.component.css']
})
export class ItemModelComponent implements OnInit {
@Input() model: Model = new Model();
isShowDiv = true;
randomOrd='';
toggleDisplayDiv() {
this.isShowDiv = !this.isShowDiv;
}
constructor() { }
ngOnInit(): void {
/*if(this.model.randomOrder)
{
this.randomOrd='Da';
}
else
{
this.randomOrd='Ne';
}
*/
}
}
|