1
0
Fork 0
freesewing/markdown/dev/reference/api/settings/only/en.md

18 lines
329 B
Markdown
Raw Normal View History

2022-02-19 08:04:25 +01:00
---
title: only
---
2022-02-19 08:04:25 +01:00
The `only` setting allows you to specify one or more parts to
2021-12-28 21:07:45 +01:00
draft/render, rather than the entire pattern.
2022-02-19 08:04:25 +01:00
It accepts either a single part name as a string, or an array of
2021-12-28 21:07:45 +01:00
one or more part names.
```js
2021-12-28 21:07:45 +01:00
import Brian from "@freesewing/brian";
2021-12-28 21:07:45 +01:00
const pattern = new Brian({
only: ["front", "sleeve"]
})
```