1
0
Fork 0
freesewing/markdown/dev/reference/api/config/hide/en.md

28 lines
606 B
Markdown
Raw Normal View History

---
title: hide
---
2022-02-05 17:44:23 +01:00
The `hide` key in the pattern configuration file allow you to configure
parts that should be hidden by default.
2022-02-05 17:44:23 +01:00
*Hidden* means that they will be drafted, but not rendered. This is
ypically used for a base part on which other parts are built.
Note that hidden parts will be rendered when the user requests
to [only draft some parts of a pattern](/reference/api/settings/only)
and includes the hidden part(s).
## Structure
An array with strings that hold part names.
## Example
```js
hide: [
"base"
]
```
2022-02-05 17:44:23 +01:00
In the configuration above, the `base` part will be hidden by default.