1
0
Fork 0
freesewing/markdown/dev/reference/api/config/ui/optiongroups/en.md
2021-12-27 17:33:49 +01:00

570 B

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:

optionGroups: {
  fit: ["chestEase", "hipsEase", "stretchFactor"],
  style: [
    "armholeDrop",
    "backlineBend",
    "necklineBend",
    "necklineDrop",
    "shoulderStrapWidth",
    "shoulderStrapPlacement",
    "lengthBonus"
  ]
} 

Options that are not included in the optionGroup configuration won't be exposed in the frontend and thus will be unavailable to the user.