aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_pages/my-models/my-models.component.ts
blob: 3ab57e59f3be964fee98f72b837f716eb402de0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { Component, OnInit } from '@angular/core';
import Model from 'src/app/_data/Model';

@Component({
  selector: 'app-my-models',
  templateUrl: './my-models.component.html',
  styleUrls: ['./my-models.component.css']
})
export class MyModelsComponent /*implements OnInit*/ {
  myModels: Model[];

  constructor() {
    this.myModels = [
    new Model('Titanik', 'Opis titanik'),
    new Model('Neki drugi set', 'opis'),
    new Model('Treci set', 'opis')
  ]; }

  /*ngOnInit(): void {
  }
*/
}