AltitudeWeb/frontend/src/app/pages/vote/vote.component.ts

25 lines
512 B
TypeScript
Raw Normal View History

import {Component} from '@angular/core';
import {ScrollService} from '@services/scroll.service';
import {HeaderComponent} from '@header/header.component';
@Component({
selector: 'app-vote',
standalone: true,
imports: [
HeaderComponent
],
templateUrl: './vote.component.html',
styleUrl: './vote.component.scss'
})
export class VoteComponent {
constructor(public scrollService: ScrollService) {
}
voteMessage: string = '';
clickVote(id: string) {
this.voteMessage = 'Clicked!';
}
}