resetTask() {
    this.hideFeedback();
    this.hideSolution();
    this.setReadonly(false);

    this.showButton('check-answer');
    this.hideButton('show-solution');
    this.hideButton('try-again');

    if (this.params.behaviour.clearAnswerOnRetry) {
      this.answer.data = [];
    }
  }
/**
   * Resets the task to its initial state, should also show buttons that were hidden by the `showSolutions()` function.
   */
Resets the task to its initial state, should also show buttons that were hidden by the `showSolutions()` function.
Resets the task to its initial state should also show buttons that were hidden by the ` showSolutions () ` function .
resetTask() {
    this.hideFeedback();
    this.hideSolution();
    this.setReadonly(false);
    this.showButton('check-answer');
    this.hideButton('show-solution');
    this.hideButton('try-again');
    if (this.params.behaviour.clearAnswerOnRetry) {
      this.answer.data = [];
    }
  }
resetTask ( ) { this . hideFeedback ( ) ; this . hideSolution ( ) ; this . setReadonly ( false ) ; this . showButton ( 'check-answer' ) ; this . hideButton ( 'show-solution' ) ; this . hideButton ( 'try-again' ) ; if ( this . params . behaviour . clearAnswerOnRetry ) { this . answer . data = [ ] ; } }
Resets the task to its initial state, should also show buttons that were hidden by the `showSolutions()` function.
Resets the task to its initial state should also show buttons that were hidden by the ` showSolutions () ` function .