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

18 lines
332 B
Markdown
Raw Normal View History

---
title: only
---
2021-12-28 21:07:45 +01:00
The `only` setting allows you to specify one or more parts to
draft/render, rather than the entire pattern.
2021-12-28 21:07:45 +01:00
It accepts either a single part name as a string, or an array of
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"]
})
```