1
0
Fork 0
freesewing/markdown/dev/reference/settings/only/en.md
2022-12-14 21:02:30 -08:00

536 B

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

const settings = {
  String|Array|Boolean only=false
}

Example

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.