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

27 lines
603 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
typically used for a base part on which other parts are built.
2022-02-05 17:44:23 +01:00
2022-02-19 08:04:25 +01:00
Note that hidden parts will be rendered when the user requests
to [only draft some parts of a pattern](/reference/api/settings/only)
2022-02-05 17:44:23 +01:00
and includes the hidden part(s).
## Structure
An array of strings that holds part names.
2022-02-05 17:44:23 +01:00
## Example
```js
hide: [
"base"
]
```
2022-02-05 17:44:23 +01:00
In the configuration above, the `base` part will be hidden by default.