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

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

Adjusments

  • Property mode set to 100644
File size: 302 bytes
Line 
1import { Component } from '@angular/core';
2
3@Component({
4 selector: 'app-counter-component',
5 templateUrl: './counter.component.html',
6 styleUrls: ['./counter.component.css']
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.