Created
August 7, 2018 18:28
-
-
Save merken/ddcaae55f1b8700e2ee2fe565170efca to your computer and use it in GitHub Desktop.
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 } from '@angular/core'; | |
@Component({ | |
selector: 'app-root', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.css'] | |
}) | |
export class AppComponent { | |
whatHappened = 'nothing'; | |
first() { | |
this.whatHappened = 'First was pressed'; | |
} | |
second() { | |
this.whatHappened = 'Second was pressed'; | |
} | |
third() { | |
this.whatHappened = 'Third was pressed'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment