
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
20 lines
731 B
Markdown
20 lines
731 B
Markdown
---
|
|
title: Pattern
|
|
order: 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](/en/docs/developer/api/part) constructor
|
|
- `store` : A [Store](/en/docs/developer/api/store) instance
|
|
- `svg` : An [Svg](/en/docs/developer/api/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:
|
|
|
|
<ReadMore list />
|