Ordered List
Getting Started
Stylistic numbered list for article content.
Install via NPM
npm install @bolt/components-ordered-list
Usage
{% include "@bolt-components-ordered-list/ordered-list.twig" with {
contentItems: [
{
text: "Do not include any data or information in your posts that are confidential!"
},
{
text: "Apply basic practices for collaborative work."
},
{
text: "Be honest, respectful, trustworthy and helpful."
},
{
text: "Answer questions authoritatively and concisely. Avoid cluttering discussions with noise."
}
]
} only %}
Schema
Name | Type | Value(s) | Description | Default |
---|---|---|---|---|
attributes | object
| |
A Drupal-style attributes object with extra attributes to append to this component. |
N/A |
contentItems | array
|
|
The content items These are all of the items in the ordered list |
N/A |