1
0
Fork 0
freesewing/markdown/dev/reference/api/pattern/en.md
Joost De Cock b34a2ee2ed feat: Flat import of markdown repo
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
2021-08-25 16:09:31 +02:00

731 B

title order
Pattern 15

A Pattern object comes wih the following properties:

  • settings : The settings as set by the user
  • options : the options as set by the user
  • config : The pattern configuration
  • parts : A plain object to hold your parts
  • Part : The Part constructor
  • store : A Store instance
  • svg : An Svg instance
  • is : A string that will be set to draft or sample when you respectively draft or sample a pattern. This allows plugins that hook into your pattern to determine what to do in a given scenario.

In addition, a Pattern object has the following methods: