<li>
<li> is a Sectional component
that defines an item in either an ordered list, <ol>, or an unordered list, <ul>.
Attributes and Properties
The <li> component does not have attributes.
| Property | Type |
|---|---|
$l.aggregateScores | boolean |
$l.creditAchieved | number |
$l.disabled | boolean |
$l.displayDigitsForCreditAchieved | integer |
$l.fixed | boolean |
$l.fixLocation | boolean |
$l.hidden | boolean |
$l.percentCreditAchieved | number |
$l.sectionWideCheckWork | boolean |
$l.submitLabel | text |
$l.submitLabelNoCorrectness | text |
$l.text | text |
$l.weight | number |
Example: <ul> with nested <li>
<ul> renders an unordered list, with list items given by <li>
children. <ul> is a block component and should not contain any
components other than <li> children. Individual <li> children may themselves
contain graphs, problems, paragraphs, and other content.
Example: <ol> with nested <li>
<ol> renders an ordered list, with list items given by <li> children. <ol> is
a block component and should not contain any components other than <li>
children. Individual <li> children may themselves contain graphs, problems, paragraphs, and other content.
Example: <li> with more content
<ul> and <ol> components can only take <li> children. Individual
<li> children may themselves contain graphs, problems, paragraphs, and other content.