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