Obojobo

Obojobo

  • Authors
  • Developers
  • GitHub

› Developers Section Topics

Getting Started

  • OboNode Structure
  • Text Content Conventions
  • Triggers and Actions

Misc Dev Topics

  • Obojobo Glossary
  • Question Selection Algorithm
  • Range Strings

Events Reference

  • Caliper Event Reference
  • Obojobo Event Reference

OboNode & Content Block Reference

  • ActionButton
  • Assessment
  • Assessment > rubric
  • Assessment > rubric > mod
  • Assessment > scoreAction
  • Break
  • Code
  • Content
  • Figure
  • Heading
  • HTML
  • IFrame
  • List
  • List > listStyle
  • List > listStyle > indent
  • Materia
  • MathEquation
  • MCAssessment
  • MCAssessment > MCChoice
  • MCAssessment > MCChoice > MCAnswer
  • MCAssessment > MCChoice > MCFeedback
  • Module
  • NumericAssessment
  • NumericAssessment > NumericChoice
  • NumericAssessment > NumericChoice > NumericAnswer
  • NumericAssessment > NumericChoice > NumericFeedback
  • Page
  • Question
  • QuestionBank
  • Table
  • Table > gridTextGroup
  • Text
  • textGroup
  • textGroup > textItem
  • textGroup > textItem > styleableText
  • textGroup > textItem > styleableText > styleList
  • trigger
  • trigger > action
  • YouTube

Materia

Class: Chunk OboNode  Full Name: ObojoboDraft.Chunks.Materia

A Materia widget

Materia is another UCFOpen platform which provides interactive widgets (games and study tools) for online courses. Check out Materia’s docs to find out more about getting and installing Materia.

Properties

Property Required Type Description
src Required String The embed URL of the Materia widget
icon Recommended String The URL of the widget icon
width Recommended Integer >= 100 Default: 800. The width of the widget
height Recommended Integer >= 100 Default: 600. The height of the widget
widgetEngine Recommended String The name of the widget (e.g. "Equation Sandbox")
textGroup no textGroup Used as the caption below the widget. Expects 1 text item.

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

None

Variables Registered

None

Example

JSON

{
	"type": "ObojoboDraft.Chunks.Materia",
	"id": "...",
	"content": {
		"src": "https://materia.ucf.edu/embed/UlLcG/my-equation-sandbox-widget",
		"icon": "https://materia.ucf.edu/widget/10-equation-sandbox/img/icon-92@2x.png",
		"width": 800,
		"height": 600,
		"widgetEngine": "Equation Sandbox",
		"textGroup": [
			{
				"data": null,
				"text": {
					"value": "My Equation Sandbox Widget",
					"styleList": []
				}
			}
		]
	}
}

XML

<Materia src="https://materia.ucf.edu/embed/UlLcG/my-equation-sandbox-widget" icon="https://materia.ucf.edu/widget/10-equation-sandbox/img/icon-92@2x.png" width="800" height="600" widgetEngine="Equation Sandbox">
	<textGroup>
		<t>My Equation Sandbox Widget</t>
	</textGroup>
</Materia>
  • Properties
  • Supported Trigger Types
  • Required Children
  • Variables Registered
  • Example
    • JSON
    • XML
Visit Obojobo on GitHub
Obojobo
Obojobo™ ©2021 University of Central Florida