Skip to main content

waralee

note

This design is part of the FreeSewing collection

Named exports

  • Waralee: The design constructor
  • about: Metadata about the design
  • backPocket: The backPocket part of the design
  • cutout: The cutout part of the design
  • facingBack: The facingBack part of the design
  • facingFront: The facingFront part of the design
  • i18n: Internationalisation (i18n/translation) data for the design
  • mini: The mini part of the design
  • pants: The pants part of the design
  • pantsProto: The pantsProto part of the design
  • pocket: The pocket part of the design
  • strapBack: The strapBack part of the design
  • strapFront: The strapFront part of the design
  • waistbandBack: The waistbandBack part of the design
  • waistbandFront: The waistbandFront part of the design

Constructor

To create a new waralee Design, import the constructur as such:

import { Waralee } from '@freesewing/waralee'

Then you can instantiate it by passing a settings object:

const pattern = new Waralee(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 { Waralee } from '@freesewing/waralee'

// Access the design config from the constructor
const dConf = Waralee.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 { Waralee } from '@freesewing/waralee'

// Access the pattern config from the constructor
const pConf = Waralee.patternConfig

Metadata

You can access the design's metadata through the about named export:

import { about } from '@freesewing/waralee'

I18n

You can access the design's internationalization data through the i18n named export:

import { i18n } from '@freesewing/waralee'

Parts

backPocket

The part itself

You can access this part as the backPocket named export:

import { backPocket } from '@freesewing/waralee'

cutout

The part itself

You can access this part as the cutout named export:

import { cutout } from '@freesewing/waralee'

facingBack

The part itself

You can access this part as the facingBack named export:

import { facingBack } from '@freesewing/waralee'

facingFront

The part itself

You can access this part as the facingFront named export:

import { facingFront } from '@freesewing/waralee'

mini

The part itself

You can access this part as the mini named export:

import { mini } from '@freesewing/waralee'

pants

The part itself

You can access this part as the pants named export:

import { pants } from '@freesewing/waralee'

pantsProto

The part itself

You can access this part as the pantsProto named export:

import { pantsProto } from '@freesewing/waralee'

pocket

The part itself

You can access this part as the pocket named export:

import { pocket } from '@freesewing/waralee'

strapBack

The part itself

You can access this part as the strapBack named export:

import { strapBack } from '@freesewing/waralee'

strapFront

The part itself

You can access this part as the strapFront named export:

import { strapFront } from '@freesewing/waralee'

waistbandBack

The part itself

You can access this part as the waistbandBack named export:

import { waistbandBack } from '@freesewing/waralee'

waistbandFront

The part itself

You can access this part as the waistbandFront named export:

import { waistbandFront } from '@freesewing/waralee'