feat(frontend): Vue can now interact with the chosen answers for questions.
This commit is contained in:
		
							parent
							
								
									6d452c7f72
								
							
						
					
					
						commit
						63d1ed8bd2
					
				
					 6 changed files with 99 additions and 1 deletions
				
			
		|  | @ -38,7 +38,7 @@ class GiftProcessor extends StringProcessor { | |||
|         let html = "<div class='learning-object-gift'>\n"; | ||||
|         let i = 1; | ||||
|         for (const question of quizQuestions) { | ||||
|             html += `    <div class='gift-question' id='gift-q${i}'>\n`; | ||||
|             html += `    <div class='gift-question gift-question-type-${question.type}' id='gift-q${i}'>\n`; | ||||
|             html += '        ' + this.renderQuestion(question, i).replaceAll(/\n(.+)/g, '\n        $1'); // Replace for indentation.
 | ||||
|             html += `    </div>\n`; | ||||
|             i++; | ||||
|  |  | |||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger