wahid
This design is part of the FreeSewing collection
Named exports
Wahid: The design constructorabout: Metadata about the designback: The back part of the designfront: The front part of the designfrontFacing: The frontFacing part of the designfrontLining: The frontLining part of the designi18n: Internationalisation (i18n/translation) data for the designpocketBag: The pocketBag part of the designpocketFacing: The pocketFacing part of the designpocketInterfacing: The pocketInterfacing part of the designpocketWelt: The pocketWelt part of the design
Constructor
To create a new wahid Design, import the constructur as such:
import { Wahid } from '@freesewing/wahid'
Then you can instantiate it by passing a settings object:
const pattern = new Wahid(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 { Wahid } from '@freesewing/wahid'
// Access the design config from the constructor
const dConf = Wahid.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 { Wahid } from '@freesewing/wahid'
// Access the pattern config from the constructor
const pConf = Wahid.patternConfig
Metadata
You can access the design's metadata through the about named export:
import { about } from '@freesewing/wahid'
I18n
You can access the design's internationalization data through the i18n named export:
import { i18n } from '@freesewing/wahid'
Parts
back
The part itself
You can access this part as the back named export:
import { back } from '@freesewing/wahid'
front
The part itself
You can access this part as the front named export:
import { front } from '@freesewing/wahid'
frontFacing
The part itself
You can access this part as the frontFacing named export:
import { frontFacing } from '@freesewing/wahid'
frontLining
The part itself
You can access this part as the frontLining named export:
import { frontLining } from '@freesewing/wahid'
pocketBag
The part itself
You can access this part as the pocketBag named export:
import { pocketBag } from '@freesewing/wahid'
pocketFacing
The part itself
You can access this part as the pocketFacing named export:
import { pocketFacing } from '@freesewing/wahid'
pocketInterfacing
The part itself
You can access this part as the pocketInterfacing named export:
import { pocketInterfacing } from '@freesewing/wahid'
pocketWelt
The part itself
You can access this part as the pocketWelt named export:
import { pocketWelt } from '@freesewing/wahid'