Skip to main content

trayvon

note

This design is part of the FreeSewing collection

Named exports

Constructor

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

import { Trayvon } from '@freesewing/trayvon'

Then you can instantiate it by passing a settings object:

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

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

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

Metadata

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

import { about } from '@freesewing/trayvon'

I18n

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

import { i18n } from '@freesewing/trayvon'

Parts

fabricLoop

The part itself

You can access this part as the fabricLoop named export:

import { fabricLoop } from '@freesewing/trayvon'

fabricTail

The part itself

You can access this part as the fabricTail named export:

import { fabricTail } from '@freesewing/trayvon'

fabricTip

The part itself

You can access this part as the fabricTip named export:

import { fabricTip } from '@freesewing/trayvon'

interfacingTail

The part itself

You can access this part as the interfacingTail named export:

import { interfacingTail } from '@freesewing/trayvon'

interfacingTip

The part itself

You can access this part as the interfacingTip named export:

import { interfacingTip } from '@freesewing/trayvon'

liningTail

The part itself

You can access this part as the liningTail named export:

import { liningTail } from '@freesewing/trayvon'

liningTip

The part itself

You can access this part as the liningTip named export:

import { liningTip } from '@freesewing/trayvon'