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

29 lines
536 B
Markdown
Raw Normal View History

---
title: Part.unhide()
---
The `Part.unhide()` method will mark the part as not hidden.
This method returns the `part` object, so it's chainable.
<Tip>
This method can be destructured as `inhide`
in [a part's draft method](/reference/api/part/draft).
</Tip>
<Related>
The [hide](/reference/api/part/hide) and
[setHidden](/reference/api/part/sethidden) methods also control a
part's visibility
</Related>
## Part.unhide() example
```js
cont part = {
name: 'examples.hide',
draft: ({ unhide, part }) => part.unhide()
}
```