Created
April 6, 2022 13:07
-
-
Save MartinhoMCM/a861ab992451bc920a5c39f987b6c09d 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() { } | |
message:any=''; | |
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' | |
} | |
} | |
handleClickedEvent(event){ | |
this.message =event; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment