ReferenceAlphabetical Index

Alphabetical Component Index

A

ComponentDescription
<abs>Absolute value of an expression
<activity>A sectional component with score aggregation, similar to `<problem>`
<alert>Bold text
<and>Logical AND: true only when all child boolean values are true
<angle>An angle defined by three points or a measure
<animateFromSequence>Animates a value through a sequence over time
<annotation>An annotation for screen reader navigation of a graph
<annotations>A container of annotation children for screen reader navigation of a graph
<answer>Assigns credit to student responses based on matches or logical rules
<aside>A note set off from the main flow of the document
<asList>Renders its children as a comma-separated list
<atom>Represents a chemical element by symbol or atomic number, exposing its periodic-table properties
<attr>Renders a styled attribute name
<attractTo>Attracts a graphical component’s position to another component when nearby
<attractToConstraint>Wraps another constraint so it acts as a soft attraction within a threshold
<attractToGrid>Attracts a graphical component’s position to grid lines when nearby
<award>Specifies conditions for awarding credit in an answer

B

ComponentDescription
<bestFitLine>The best-fit line for a set of points
<bezierControls>Defines Bezier control vectors at points along a curve
<blockQuote>A block-level quotation
<boolean>A boolean value
<booleanInput>An interactive boolean (toggle/checkbox) input
<booleanList>A list of booleans
<br>A line break

C

ComponentDescription
<c>Inline code text
<callAction>Triggers an action when clicked or in response to a specified user interaction
<caption>A caption attached to a figure or table
<cascade>Sectional component that reveals its children step-by-step
<cascadeMessage>Placeholder shown inside a `<cascade>` in place of a not-yet-revealed entry
<case>A single conditional branch within `<conditionalContent>`
<ceil>Smallest integer ≥ the input value
<cell>A single cell within a tabular layout or spreadsheet
<cellBlock>Container for grouping `<cell>`, `<row>`, and `<column>` children inside a `<spreadsheet>`
<choice>A single choice within a `<choiceInput>` or an `<answer>`.
<choiceInput>A multiple-choice input, allowing selection from a list of choices
<circle>A circle, potentially defined by center, radius, and/or points on the circle
<clampFunction>A function clamped to a specified output range
<clampNumber>Clamps a number to a specified range
<cobwebPolyline>An interactive cobweb diagram for visualizing iteration of a one-variable function
<codeEditor>An interactive DoenetML code editor
<collect>Collects descendants of a component matching a specified component type
<column> (in a matrix)A list of math values defining the column of a matrix
<column> (in a table)A column of cells within a `<spreadsheet>`
<conclusion>A block container for the conclusion of a section
<conditionalContent>Renders content conditionally based on its `<case>` or `<else>` children
<considerAsResponses>Marks its children as response components for an enclosing answer
<constrainTo>Constrains a graphical component’s position to be within another component or components
<constrainToGraph>Constrains a graphical component’s position to lie within a graph’s bounds
<constrainToGrid>Constrains a graphical component’s position to lie on a grid
<constrainToInterior>Constrains a graphical component’s position to lie inside a region
<constraintUnion>A constraint that is satisfied if any of its child constraints are satisfied
<controlVectors>Bezier control vectors at points defining a curve (used inside `<bezierControls>`)
<convertSetToList>Converts a math set expression into a list expression
<coords>A math expression treated as a vector of coordinates
<count>The number of the child math or number values
<curve>A curve defined by a function, parametric formulas, or control points

D

ComponentDescription
<definition>A sectional component for defining a term or concept
<derivative>The derivative of a function
<description>Extra information about an enclosing component, shown to all users in a popup or disclosure
<displayDoenetML>Displays a DoenetML source string verbatim
<div>A generic block-level container
<document>The top-level container for a DoenetML document (added implicitly if not present)

E

ComponentDescription
<eigenDecomposition>Computes the eigenvalues and eigenvectors of a square matrix
<electronConfiguration>Renders an electron configuration with sublevel labels and superscripted electron counts
<ellipsis>Renders a horizontal ellipsis (…) character
<else>Default branch within a `<conditionalContent>`; matched when no `<case>` condition is true
<em>Emphasized inline text (italic by default)
<endpoint>A point that marks the endpoint of an interval, rendered open or closed
<equilibriumCurve>An equilibrium curve of a dynamical system, rendered solid if stable or dashed if unstable
<equilibriumLine>An equilibrium line of a dynamical system, rendered solid if stable or dashed if unstable
<equilibriumPoint>An equilibrium point of a dynamical system, rendered as a filled point if stable or open if unstable
<evaluate>Evaluates a function at a math value
<example>A sectional component that defines an example
<exercise>A sectional component that defines a scored exercise
<exercises>A container element grouping `<exercise>` components, which are rendered as a list by default
<extractMath>Extracts a sub-expression from a math expression by name or index
<extractMathOperator>Returns the top-level operator of a math expression as text (e.g. ”+”, “vector”)

F-G

ComponentDescription
<feedback>Targeted feedback shown when conditions are met
<feedbackDefinition>A reusable feedback definition referenced by other components
<figure>A figure container holding graphical content with a caption
<floor>Largest integer ≤ the input value
<footnote>Inline footnote whose body is shown on demand and is auto-numbered in the document
<function>A mathematical function, defined by formula or interpolation
<functionIterates>List of values produced by iterating a function
<gcd>Greatest common divisor of integer inputs
<givenAnswer>A sectional component that renders an expandable block labeled “Answer”
<graph>A 2D coordinate-axis graph
<group>A logical grouping of components

H-L

ComponentDescription
<hasSameFactoring>Boolean condition that tests for equivalent factoring
<hint>Hint shown on demand to help with an exercise
<hr>A horizontal rule used to separate content
<image>Displays a static image
<intComma>Renders a numeric value with thousands separators (e.g. 1,000,000)
<integer>An integer value
<intersection>Renders intersections between graphical objects
<interval>A math expression treated as an interval of real numbers
<intervalList>A list of intervals
<introduction>A block container for the introduction of a section
<ion>Represents a charged ion specified by element and charge, rendered with its chemical formula
<ionicCompound>Forms a balanced ionic compound from constituent ions and renders its chemical formula
<isBetween>True when a math value is between two given bounds
<isInteger>True when the math child evaluates to an integer
<isNumber>True when the math child evaluates to a finite number
<label>A label for an input, answer, button, or graphical object
<latex>A snippet of LaTeX that can be rendered as math
<lcm>Least common multiple of integer inputs
<legend>A legend describing the contents of a graph
<li>A list item within `<ol>` / `<ul>`
<line>A line through two points or defined by an equation
<lineSegment>A line segment between two endpoints
<lorem>Generates lorem ipsum placeholder text
<lq>Renders a left double quotation mark (“)
<lsq>Renders a left single quotation mark (‘)

M

ComponentDescription
<m>Inline math rendered with LaTeX
<matchesPattern>Boolean condition that tests whether input matches a math pattern
<math>A math expression
<mathInput>An interactive math input
<mathList>A list of math expressions
<matrix>A matrix of math values
<matrixInput>An interactive matrix input where each cell accepts a math value
<max>Maximum of the child math or number values
<md>Display math with multiple aligned rows
<mdash>Renders an em-dash (—) character
<mdn>Numbered display math with multiple aligned rows
<me>Display math rendered with LaTeX
<mean>Arithmetic mean of the child math or number values
<median>Median of the child math or number values
<men>Numbered display math rendered with LaTeX
<min>Minimum of the child math or number values
<mod>Modulo (remainder) of two values
<module>A reusable group with parameterized attributes; can be copied elsewhere with new parameter values
<moduleAttributes>Declares attributes accepted by an enclosing `<module>`
<mrow>A row of math within an aligned display

N-O

ComponentDescription
<nbsp>Renders a non-breaking space character
<ndash>Renders an en-dash (–) character
<not>Logical negation of a boolean value
<note>A note section, set off from the main flow of the document
<number>A numeric floating point value
<numberList>A list of numbers
<objectives>A section listing learning objectives
<odeSystem>A system of first-order ordinary differential equations with initial conditions, rendered as math and numerically integrable
<ol>An ordered list
<option>A single option within a `<select>` block
<or>Logical OR: true when at least one child boolean value is true
<orbitalDiagram>Renders an orbital diagram showing electrons in atomic orbitals as up/down arrows in boxes
<orbitalDiagramInput>An interactive widget where students fill in an orbital diagram by adding boxes, rows, and up/down arrows (block-level; does not inherit from Input)

P

ComponentDescription
<p>A paragraph of inline content
<paginator>Defines a paginated section of content
<paginatorControls>Previous/next page controls referencing a paginator elsewhere in the document
<parabola>A parabola defined by formula or geometric parameters
<paragraphs>A subsection of paragraphs (rendered at heading level 4)
<part>A subsection-style block rendered as a list item (a part of an exercise or problem)
<pegboard>Renders a grid of pegs on a graph
<periodicSet>A periodic set of real numbers
<piecewiseFunction>A function defined piecewise from sub-functions on intervals
<pluralize>Renders a word in its singular or plural form based on a count
<point>A point with coordinates that can be displayed and dragged on a graph
<pointList>A list of points
<polygon>A polygon defined by a list of vertices
<polyline>A polyline (open polygon) defined by a list of vertices
<pre>A preformatted block preserving whitespace
<pretzel>A response-matching component where students enter a sequence to match statements and answers
<problem>A sectional component that defines a scored problem
<problems>A container element grouping `<problem>` components, which are rendered as a list by default
<product>Product of the child math or number values
<proof>A proof section

Q-R

ComponentDescription
<q>Inline double-quoted text
<question>A sectional component that defines a scored question; similar to a `<problem>`
<ray>A ray starting at one point passing through another
<rectangle>A rectangle, potentially defined by width, height, center and/or corner vertices
<ref>A link to a component reference or to a URL
<regionBetweenCurves>A region bounded between two curves
<regionBetweenCurveXAxis>A region bounded between a curve and the x-axis
<regionHalfPlane>A half-plane region bounded by a line
<regularPolygon>A regular polygon with a given number of sides
<repeat>Repeats template content for each item in a source
<repeatForSequence>Repeats template content for each value in an arithmetic sequence
<rightHandSide>A right-hand-side expression of an equation in an ODE system
<round>Rounds a number to a specified precision
<row> (in a matrix)A list of math values defining the row of a matrix
<row> (in a table)A row within a tabular layout
<rq>Renders a right double quotation mark (”)
<rsq>Renders a right single quotation mark (’)

S

ComponentDescription
<samplePrimeNumbers>Samples random prime numbers
<sampleRandomNumbers>Samples random numbers from a distribution
<sbsGroup>A group of `<sideBySide>` components that share alignment and spacing
<section>A section of a document, with a title (auto-generated or custom) and content
<select>Randomly selects components from a list of children to create document variants
<selectFromSequence>Randomly selects values from a sequence of numbers, math expressions, or letters to create document variants
<selectPrimeNumbers>Randomly selects prime numbers from a range to create document variants
<selectRandomNumbers>Selects a fixed set of random numbers to create document variants
<sequence>Generates a sequence of numbers, math expressions, or letters
<setSmallToZero>Replaces values with magnitude below a threshold with zero
<setup>Container for components used for setup but not rendered
<shortDescription>A short accessibility description (e.g. for a `<graph>`) read by screen readers
<shuffle>Randomly shuffles its children
<sideBySide>Renders children in a side-by-side horizontal layout
<sign>Sign of the input (-1, 0, or 1)
<slider>An interactive slider input
<solution>A solution to an exercise, shown on demand
<solveEquations>Numerically solves a system of equations
<sort>Sorts a list according to a comparison function
<span>A generic inline container
<split>Splits a string or list into pieces
<spreadsheet>An interactive spreadsheet
<sq>Inline single-quoted text
<stack>A vertical container element for organizing content within a `<sideBySide>`
<standardDeviation>Standard deviation of the child math or number values
<statement>A block container for the statement of a problem, theorem, or similar
<stickyGroup>Constrains group members to attract to each other when nearby
<styleDefinition>A reusable style definition referenced by other components
<subsection>A sectional component nested one heading level deeper than `<section>`
<subsetOfReals>A subset of the real numbers, defined by intervals and points
<subsetOfRealsInput>An interactive number-line widget for entering a subset of real numbers (block-level; does not inherit from Input)
<substitute>Substitutes math expressions into another expression
<subsubsection>A sectional component nested one heading level deeper than `<subsection>`
<sum>Sum of the child math or number values

T

ComponentDescription
<table>A container element for a `<tabular>`
<tabular>A simple tabular layout of cells
<tag>Renders enclosed text as an opening tag, `< >`
<tagc>Renders enclosed text as a closing tag, `</ >`
<tage>Renders enclosed text as a self-closing tag, `< />`
<task>A task of a multi-task activity or problem (alias for `<part>`)
<term>An inline term, styled distinctively
<text>A text string
<textInput>An interactive text input
<textList>A list of texts
<theorem>A sectional component for the statement of a theorem (or similar formal statement)
<title>Creates a title within a document, section, or other block component
<triangle>A triangle defined by three vertices
<triggerSet>Groups a set of `<updateValue>` or `<callAction>` components which share a single trigger condition
<tupleList>A list of math tuples, parsed from parenthesized comma-separated pieces

U-Z

ComponentDescription
<ul>An unordered list
<updateValue>Updates one or more state variables on a target component
<variance>Variance of the child math or number values
<variantControl>Configures how variants are generated for the enclosing document or section
<vector>A geometric vector with tail and head
<vectorList>A list of vectors
<video>Embeds a video player
<when>Defines logical conditions within an `<award>`
<wrapFunctionPeriodic>A function wrapped into a periodic output range
<wrapNumberPeriodic>Wraps a number into a periodic range
<xLabel>A label for the x-axis of a graph
<xor>Logical exclusive OR: true when exactly one child boolean value is true
<yLabel>A label for the y-axis of a graph