1
0
Fork 0
freesewing/markdown/dev/reference/settings/only/en.md
2022-10-02 17:41:04 +02:00

510 B

title
only

The only setting allows you to specify one or more parts to draft, rather than the entire pattern.

It accepts either a single part name as a string, or an array of one or more part names.

Signature

const settings = {
  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.