source: Farmatiko/ClientApp/src/app/counter/counter.component.ts@ fbaea22

Last change on this file since fbaea22 was ec6ac45, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago

Adjusments

  • Property mode set to 100644
File size: 302 bytes
RevLine 
[30a465f]1import { Component } from '@angular/core';
2
3@Component({
4 selector: 'app-counter-component',
[ec6ac45]5 templateUrl: './counter.component.html',
6 styleUrls: ['./counter.component.css']
[30a465f]7})
8export class CounterComponent {
9 public currentCount = 0;
10
11 public incrementCounter() {
12 this.currentCount++;
13 }
14}
Note: See TracBrowser for help on using the repository browser.