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
Javascript
const settings = {
String|Array|Boolean only=false
}
Example
Javascript
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.