shelly
This design is part of the FreeSewing collection
Named exports
Shelly: The design constructorabout: Metadata about the designback: The back part of the designfront: The front part of the designi18n: Internationalisation (i18n/translation) data for the designneckband: The neckband part of the designraglanSleeve: The raglanSleeve part of the design
Constructor
To create a new shelly Design, import the constructur as such:
import { Shelly } from '@freesewing/shelly'
Then you can instantiate it by passing a settings object:
const pattern = new Shelly(settings)
Design config
You can access the design configuration without instantiating a design.
It is available as the designConfig property of the design constructor:
import { Shelly } from '@freesewing/shelly'
// Access the design config from the constructor
const dConf = Shelly.designConfig
Pattern config
You can access the pattern configuration without instantiating a design.
It is available as the patternConfig property of the design constructor:
import { Shelly } from '@freesewing/shelly'
// Access the pattern config from the constructor
const pConf = Shelly.patternConfig
Metadata
You can access the design's metadata through the about named export:
import { about } from '@freesewing/shelly'
I18n
You can access the design's internationalization data through the i18n named export:
import { i18n } from '@freesewing/shelly'
Parts
back
The part itself
You can access this part as the back named export:
import { back } from '@freesewing/shelly'
front
The part itself
You can access this part as the front named export:
import { front } from '@freesewing/shelly'
neckband
The part itself
You can access this part as the neckband named export:
import { neckband } from '@freesewing/shelly'
raglanSleeve
The part itself
You can access this part as the raglanSleeve named export:
import { raglanSleeve } from '@freesewing/shelly'