24 lines
429 B
TypeScript
24 lines
429 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'framadate-poll-graphic',
|
|
templateUrl: './poll-graphic.component.html',
|
|
styleUrls: ['./poll-graphic.component.scss']
|
|
})
|
|
export class PollGraphicComponent implements OnInit {
|
|
|
|
isColorblind:boolean;
|
|
|
|
constructor() {
|
|
this.isColorblind = false;
|
|
}
|
|
|
|
setColorblind(){
|
|
this.isColorblind = !this.isColorblind;
|
|
}
|
|
|
|
ngOnInit() {
|
|
}
|
|
|
|
}
|