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

25 lines
442 B
Markdown
Raw Normal View History

2022-09-21 12:28:58 +02:00
---
title: hide()
---
Calling `hide()` in a part's draft method will mark the part as hidden.
<Tip>This method returns the `part` object, so it's chainable</Tip>
<Related>
The [unhide](/reference/api/part/draft/unhide) and
[setHidden](/reference/api/part/draft/sethidden) methods also control a
part's visibility
</Related>
## hide() example
```js
cont part = {
name: 'examples.hide',
draft: ({ hide, part }) => part.hide()
}
```