24 lines
371 B
Markdown
24 lines
371 B
Markdown
---
|
|
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"
|
|
})
|
|
```
|