1
0
Fork 0

wip(markdown): Dev docs update for v3

This commit is contained in:
joostdecock 2022-09-21 12:28:58 +02:00
parent 65b053ac1c
commit 6e35a96030
27 changed files with 375 additions and 865 deletions

View file

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