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

Last change on this file since 785b8bd was ec6ac45, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 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.