<booleanList>
<booleanList>
is a Logic
component that stores multiple <boolean>
components within a list.
Attributes and Properties
Attribute | Type | Values |
---|---|---|
asList = "…" | "true" "false" | |
maxNumber = "…" | number | |
unordered = "…" | boolean | "true" "false" |
Property | Type |
---|---|
$b.maxNumber | number |
$b.numComponents | number |
$b.numValues | number |
$b.unordered | boolean |
Example: Accessing an item in a <booleanList>
Individual <boolean>
components are listed directly between the opening
and closing <booleanInput>
tags, with spaces to separate list items.
The individual list items can be accessed with the index of the desired item.
Example: <booleanList>
from user-input
The user is prompted to provide three agree/disagree type responses with
the <booleanInput/>
component.
These are gathered into a <booleanList>
..
Attribute Example: unordered
The unordered
attribute is specified in order to make
comparisons between boolean lists without regard to order.
The <booleanList>
component is ordered by default.
Attribute Example: maxNumber
Use the maxNumber
attribute to limit the number of boolean values
rendered by the <booleanList>
.
Property Example: numComponents
The numComponents
property renders the number of boolean values stored in the list.