1
0
Fork 0
freesewing/markdown/dev/reference/api/config/ui/optiongroups/en.md

30 lines
570 B
Markdown
Raw Normal View History

---
title: optionGroups
---
Organises your pattern options in groups.
It expects an object where the key is the group title, and the value an array of options:
```js
optionGroups: {
fit: ["chestEase", "hipsEase", "stretchFactor"],
style: [
"armholeDrop",
"backlineBend",
"necklineBend",
"necklineDrop",
"shoulderStrapWidth",
"shoulderStrapPlacement",
"lengthBonus"
]
}
```
<Note>
Options that are not included in the `optionGroup` configuration won't be
exposed in the frontend and thus will be unavailable to the user.
</Note>