chore(docs): Added stackPrefix settings doc
This commit is contained in:
parent
8fbb41fca7
commit
c29b2c57da
1 changed files with 24 additions and 0 deletions
24
markdown/dev/reference/settings/stackprefix/en.md
Normal file
24
markdown/dev/reference/settings/stackprefix/en.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
title: stackPrefix
|
||||
---
|
||||
|
||||
The `stackPrefix` setting allows you to specify a prefix that will be used
|
||||
for all stacks in the pattern. Its default value is `` (no prefix).
|
||||
|
||||
## Signature
|
||||
|
||||
```js
|
||||
const settings = {
|
||||
String stackPrefix=''
|
||||
}
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
import { Aaron } from "@freesewing/aaron";
|
||||
|
||||
const pattern = new Aaron({
|
||||
stackPrefix: "something-else"
|
||||
})
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue