wip(markdown): Dev docs update for v3
This commit is contained in:
parent
65b053ac1c
commit
6e35a96030
27 changed files with 375 additions and 865 deletions
24
markdown/dev/reference/api/part/draft/unhide/en.md
Normal file
24
markdown/dev/reference/api/part/draft/unhide/en.md
Normal 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()
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue