Class ModalFeedback is responsible for delivering feedback
messages to the candidate, regardless of whether the answer was correct or
incorrect.
Slots
outcome_identifierA character representing the unique identifier of the outcome declaration variable that relates to feedback. Default is "FEEDBACKMODAL".
showA boolean value, optional, determining whether to show (
TRUE) or hide (FALSE) the modal feedback. Default isTRUE.titleA character value, optional, representing the title of the modal feedback window.
contentA list of character content to form the text of the modal feedback, which can include HTML tags.
identifierA character value representing the identifier of the modal feedback item. Default is "modal_feedback".
Examples
fb <- new("ModalFeedback",
title = "Possible solution",
content = list("<b>Some explanation</b>"))