Skip to main content

jett

note

This design is part of the FreeSewing collection

Named exports

  • Jett: The design constructor
  • about: Metadata about the design
  • back: The back part of the design
  • collar_ribbing: The collar_ribbing part of the design
  • cuff: The cuff part of the design
  • front: The front part of the design
  • i18n: Internationalisation (i18n/translation) data for the design
  • pocket_bag_front: The pocket_bag_front part of the design
  • pocket_welt: The pocket_welt part of the design
  • sleeve: The sleeve part of the design
  • waistband: The waistband part of the design
  • waistband_ends: The waistband_ends part of the design
  • yoke: The yoke part of the design

Constructor

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

import { Jett } from '@freesewing/jett'

Then you can instantiate it by passing a settings object:

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

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

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

Metadata

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

import { about } from '@freesewing/jett'

I18n

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

import { i18n } from '@freesewing/jett'

Parts

back

The part itself

You can access this part as the back named export:

import { back } from '@freesewing/jett'

collar_ribbing

The part itself

You can access this part as the collar_ribbing named export:

import { collar_ribbing } from '@freesewing/jett'

cuff

The part itself

You can access this part as the cuff named export:

import { cuff } from '@freesewing/jett'

front

The part itself

You can access this part as the front named export:

import { front } from '@freesewing/jett'

pocket_bag_front

The part itself

You can access this part as the pocket_bag_front named export:

import { pocket_bag_front } from '@freesewing/jett'

pocket_welt

The part itself

You can access this part as the pocket_welt named export:

import { pocket_welt } from '@freesewing/jett'

sleeve

The part itself

You can access this part as the sleeve named export:

import { sleeve } from '@freesewing/jett'

waistband

The part itself

You can access this part as the waistband named export:

import { waistband } from '@freesewing/jett'

waistband_ends

The part itself

You can access this part as the waistband_ends named export:

import { waistband_ends } from '@freesewing/jett'

yoke

The part itself

You can access this part as the yoke named export:

import { yoke } from '@freesewing/jett'