protected void RejectAnswer() { background = "coral"; Text.Status = WordStatus.False; OnChipClick?.Invoke(Text); StateHasChanged(); }
private void AcceptAnswer() { background = "yellowgreen"; Text.Status = WordStatus.Correct; OnChipClick?.Invoke(Text); StateHasChanged(); }
public void OnPointerClick(PointerEventData eventData) { if (!_isAvalable) { return; } OnChipClick?.Invoke(this); }