Skip to content

Instantly share code, notes, and snippets.

@MartinhoMCM
Created April 6, 2022 10:21
Show Gist options
  • Save MartinhoMCM/0918a175f921bba72bcb71935102a746 to your computer and use it in GitHub Desktop.
Save MartinhoMCM/0918a175f921bba72bcb71935102a746 to your computer and use it in GitHub Desktop.
pai.component.ts
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