Learn R Programming

rqti (version 1.0.0)

WrongFeedback-class: Class "WrongFeedback"

Description

Class WrongFeedback is responsible for delivering feedback messages to the candidate in case of an incorrect answer on the entire exercise.

Arguments

Slots

outcome_identifier

A character representing the unique identifier of the outcome declaration variable that relates to feedback. Default is "FEEDBACKMODAL".

show

A boolean value, optional, determining whether to show (TRUE) or hide (FALSE) the modal feedback. Default is TRUE.

title

A character value, optional, representing the title of the modal feedback window.

content

A list of character content to form the text of the modal feedback, which can include HTML tags.

identifier

A character value representing the identifier of the modal feedback item. Default is "incorrect".

Examples

Run this code
wfb <- new("WrongFeedback",
          title = "Wrong answer",
          content = list("Some demonstration"))

Run the code above in your browser using DataLab