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

HTML

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

Raw HTML content. Allows you to create content that can’t be generated by the system otherwise.

It’s strongly recommended not to use this Chunk.

The HTML it contains will not be parsable by Obojobo and can easily break other content.

Properties

Property Required Type Description
html Recommended String HTML to render into the document.

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.HTML",
	"id": "...",
	"content": {
		"html": "<div style='border:1px solid black;'>Custom HTML Here!</div>"
	}
}

XML

<HTML html="<div style='border:1px solid black;'>Custom HTML Here!</div>" />
  • Properties
  • Supported Trigger Types
  • Required Children
  • Variables Registered
  • Example
    • JSON
    • XML
Visit Obojobo on GitHub
Obojobo
Obojobo™ ©2021 University of Central Florida