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