1
0
Fork 0
freesewing/markdown/dev/reference/api/config/hide/en.md
2022-02-19 08:04:25 +01:00

26 lines
603 B
Markdown

---
title: hide
---
The `hide` key in the pattern configuration file allow you to configure
parts that should be hidden by default.
*Hidden* means that they will be drafted, but not rendered. This is
typically 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 of strings that holds part names.
## Example
```js
hide: [
"base"
]
```
In the configuration above, the `base` part will be hidden by default.