
This is a flat (without history) import of (some of) the content from our markdown module. We've imported this without history because the repo contains our blog posts and showcases posts content prior to porting them to strapi. Since this contains many images, it would balloon the size of this repo to import the full history. Instead, please refer to the history of the (archived) markdown repo at: https://github.com/freesewing/markdown
808 B
808 B
title | order |
---|---|
API Reference | 500 |
Freesewing exports a single object with the following properties:
version
: A string containing the FreeSewing version number
In addition, FreeSewing's default export exposes the following method:
Design()
: A super-constructor to create new pattern designs.
Design()
function freesewing.Design(object config, object|array plugins)
Use this method to create a new pattern design. It takes the following arguments:
config
: The pattern configurationplugins
: Either a plugin object, or an array of plugin objects to load in your pattern
This method will return a constructor method that should be called to instantiate your pattern.
See creating a new pattern design for an example.