c02414ea40
Co-authored-by: Lala, Shahd <Shahd.Lala@sybit.de> Reviewed-on: #7
17 lines
519 B
TypeScript
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>();
|
|
}
|