1
0
Fork 0
freesewing/sites/dev/docs/reference/settings/only/readme.mdx
Joost De Cock ab3204f9f1 chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus
setup. It's part of my efforts to simplify FreeSewing's setup so we can
focus on our core value proposition.
2024-09-28 13:13:48 +02:00

31 lines
536 B
Text

---
title: only
---
The `only` setting allows you to specify one or more parts to
draft, rather than the entire pattern.
It accepts a single part name as a string, an array of one or more part names, or it can be set to `false`.
## Signature
```js
const settings = {
String|Array|Boolean only=false
}
```
## Example
```js
import { Aaron } from "@freesewing/aaron"
const pattern = new Aaron({
only: ['aaron.front']
})
```
## Notes
When `only` is not specified, it defaults to `false` which means all parts will
be included.