25 lines
512 B
TypeScript
25 lines
512 B
TypeScript
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!';
|
|
}
|
|
}
|