import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  /** ATTRIBUTES **/
  title = "You're welcome! =)";
  favoriteCar: string = "Ferrari";
  favoriteColor: string = "yellow";
  initialValue: number = 10;

  /** CONSTRUCTOR **/
  constructor() {
    setTimeout(() => {
      this.title="Get out of here!";
    }, 5000)
  }

  /** METHODS **/
  receivedEvent($event: any): void {
    console.log("AppComponent: RECEIVED EVENT!", $event);
  }
}
