Last change
on this file since 333cdac was 333cdac, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago |
Frontend adjustments for prototype
|
-
Property mode
set to
100644
|
File size:
302 bytes
|
Line | |
---|
1 | import { Component } from '@angular/core';
|
---|
2 |
|
---|
3 | @Component({
|
---|
4 | selector: 'app-counter-component',
|
---|
5 | templateUrl: './counter.component.html',
|
---|
6 | styleUrls: ['./counter.component.css']
|
---|
7 | })
|
---|
8 | export 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.