Segmented code manuel

@dan

In the manual, the segmented code is:
{
“title”: “Alignment”,
“id”: “alignment”,
“segmented”: {
“default”: {
“base”: “align-left”,
“md”: “align-center”
},
“items”: [{
“value”: “align-left”,
“icon”: “text.alignleft”
}, {
“value”: “align-center”,
“icon”: “text.aligncenter”,
“default”: true
}, {
“value”: “align-right”,
“icon”: “text.alignright”,
“title”: “Right”
}]
}
}

It gives this
Scherm­afbeelding 2024-11-25 om 14.38.38

I think the line “title”: “Right” has to be removed to get only the icons.

1 Like

Excellent catch, have updated the Segmented page in the Docs!

1 Like