bella
note
This design is part of the FreeSewing collection
Named exports
Bella: The design constructorabout: Metadata about the designback: The back part of the designfrontSideDart: The frontSideDart part of the designi18n: Internationalisation (i18n/translation) data for the design
Constructor
To create a new bella Design, import the constructur as such:
import { Bella } from '@freesewing/bella'
Then you can instantiate it by passing a settings object:
const pattern = new Bella(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 { Bella } from '@freesewing/bella'
// Access the design config from the constructor
const dConf = Bella.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 { Bella } from '@freesewing/bella'
// Access the pattern config from the constructor
const pConf = Bella.patternConfig
Metadata
You can access the design's metadata through the about named export:
import { about } from '@freesewing/bella'
I18n
You can access the design's internationalization data through the i18n named export:
import { i18n } from '@freesewing/bella'
Parts
back
The part itself
You can access this part as the back named export:
import { back } from '@freesewing/bella'
frontSideDart
The part itself
You can access this part as the frontSideDart named export:
import { frontSideDart } from '@freesewing/bella'