MCAssessment > MCChoice > MCAnswer
Class: Chunk OboNode Full Name: ObojoboDraft.Chunks.MCAssessment.MCAnswerThis represents the contents of the answer portion of a multiple choice answer choice.
Properties
None
Supported Trigger Types
Action Type | Description |
---|---|
onMount | Fired when a node is added to the DOM |
onUnmount | Fired when a node is removed from the DOM |
Required Children
One or more of the following Chunks: ActionButton, Break, Code, Figure, Heading, HTML, IFrame, List, Materia, MathEquation, Table, Text, YouTube .
Variables Registered
None
Example
JSON
{
"type": "ObojoboDraft.Chunks.MCAssessment.MCAnswer",
"id": "...",
"children": [
{
"type": "ObojoboDraft.Chunks.Text",
"id": "...",
"content": {
"textGroup": [
{
"text": {
"value": "Answer choice"
}
}
]
}
}
]
}
XML (With OboHTML)
<MCAnswer>
<p>Answer choice</p>
</MCAnswer>