Created
April 6, 2022 10:21
-
-
Save MartinhoMCM/0918a175f921bba72bcb71935102a746 to your computer and use it in GitHub Desktop.
pai.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit } from '@angular/core'; | |
@Component({ | |
selector: 'app-pai', | |
templateUrl: './pai.component.html', | |
styleUrls: ['./pai.component.css'] | |
}) | |
export class PaiComponent implements OnInit { | |
constructor() { } | |
ngOnInit() { | |
} | |
event = { | |
id: 1, | |
name: 'Angular Connect', | |
date: '9/26/2036', | |
time: '10:00 am', | |
price: 599.99, | |
location: { | |
address: '1057 DT', | |
city: 'London', | |
country: 'England' | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment