Files
NowChess-Frontend/src/app/components/board-actions-bar/board-actions-bar.component.ts
T
shosho996 c02414ea40 fix: NCWF-2 bugs and desing fixes (#7)
Co-authored-by: Lala, Shahd <Shahd.Lala@sybit.de>
Reviewed-on: #7
2026-05-15 02:16:43 +02:00

17 lines
519 B
TypeScript

import { Component, EventEmitter, Input, Output } from '@angular/core';
@Component({
selector: 'app-board-actions-bar',
standalone: true,
imports: [],
templateUrl: './board-actions-bar.component.html',
styleUrl: './board-actions-bar.component.css'
})
export class BoardActionsBarComponent {
@Input() undoAvailable = false;
@Input() isGameFinished = false;
@Output() takeback = new EventEmitter<void>();
@Output() offerDraw = new EventEmitter<void>();
@Output() resign = new EventEmitter<void>();
}