20 lines
418 B
TypeScript
20 lines
418 B
TypeScript
|
|
import {Component} from '@angular/core';
|
||
|
|
import {ScrollService} from '../scroll/scroll.service';
|
||
|
|
|
||
|
|
@Component({
|
||
|
|
selector: 'app-vote',
|
||
|
|
standalone: false,
|
||
|
|
templateUrl: './vote.component.html',
|
||
|
|
styleUrl: './vote.component.scss'
|
||
|
|
})
|
||
|
|
export class VoteComponent {
|
||
|
|
constructor(public scrollService: ScrollService) {
|
||
|
|
}
|
||
|
|
|
||
|
|
voteMessage: string = '';
|
||
|
|
|
||
|
|
clickVote(id: string) {
|
||
|
|
this.voteMessage = 'Clicked!';
|
||
|
|
}
|
||
|
|
}
|