Skip to main content

holmes

note

This design is part of the FreeSewing collection

Named exports​

Constructor​

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

import { Holmes } from '@freesewing/holmes'

Then you can instantiate it by passing a settings object:

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

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

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

Metadata​

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

import { about } from '@freesewing/holmes'

I18n​

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

import { i18n } from '@freesewing/holmes'

Parts​

crown​

The part itself​

You can access this part as the crown named export:

import { crown } from '@freesewing/holmes'

ear​

The part itself​

You can access this part as the ear named export:

import { ear } from '@freesewing/holmes'

visor​

The part itself​

You can access this part as the visor named export:

import { visor } from '@freesewing/holmes'