Skip to content

Commit 17c5831

Browse files
committed
Minor docs updates
1 parent 42f212a commit 17c5831

File tree

7 files changed

+41
-10
lines changed

7 files changed

+41
-10
lines changed

docs/api.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ The intended use case is for components that only support a single child node in
130130

131131
* [`findChild()`](#findchild)
132132
* [Example - Adding a `ref` to a slot](/examples.html#adding-a-ref-to-a-slot)
133+
* [Guide - Other helpers](/guide/other-helpers.html)
133134

134135
## findChild()
135136

@@ -169,6 +170,10 @@ function getText(vnode: VNode | string | number): string | undefined
169170

170171
Returns the text content of a text node. If the passed value is not a text node (consistent with [`isText()`](#istext)) then `undefined` will be returned instead.
171172

173+
### See also
174+
175+
* [Guide - Checking the VNode type](/guide/checking-the-vnode-type.html)
176+
172177
## getType()
173178

174179
### Type
@@ -190,6 +195,10 @@ Returns a string describing the type of VNode passed. The passed node doesn't ha
190195

191196
If the passed value doesn't appear to be convertible to a VNode, the returned value will be `undefined`.
192197

198+
### See also
199+
200+
* [Guide - Checking the VNode type](/guide/checking-the-vnode-type.html)
201+
193202
## isComment()
194203

195204
### Type
@@ -202,6 +211,10 @@ function isComment(vnode: any): vnode is (null | undefined | boolean | (VNode &
202211

203212
Returns `true` if the passed value is considered to be a comment. This could be a comment VNode, or `undefined`, `null`, `false`, or `true`. This is consistent with how `render` functions and `h` treat children, with all of those values being converted to comment nodes.
204213

214+
### See also
215+
216+
* [Guide - Checking the VNode type](/guide/checking-the-vnode-type.html)
217+
205218
## isComponent()
206219

207220
### Type
@@ -218,6 +231,7 @@ Returns `true` if the passed value is a component VNode. This includes both stat
218231

219232
* [`isFunctionalComponent()`](#isfunctionalcomponent)
220233
* [`isStatefulComponent()`](#isstatefulcomponent)
234+
* [Guide - Checking the VNode type](/guide/checking-the-vnode-type.html)
221235

222236
## isElement()
223237

@@ -231,6 +245,10 @@ function isElement(vnode: any): vnode is (VNode & { type: string })
231245

232246
Returns `true` if the passed value is an element VNode, e.g. a `<div>` or `<span>`.
233247

248+
### See also
249+
250+
* [Guide - Checking the VNode type](/guide/checking-the-vnode-type.html)
251+
234252
## isEmpty()
235253

236254
### Type
@@ -253,6 +271,7 @@ This helper is written using `someChild()`. If the exact criteria it uses to dec
253271

254272
* [`someChild()`](#somechild)
255273
* [Example - Checking for empty content](/examples.html#checking-for-empty-content)
274+
* [Guide - Other helpers](/guide/other-helpers.html)
256275

257276
## isFragment()
258277

@@ -266,6 +285,10 @@ function isFragment(vnode: any): vnode is ((VNode & { type: typeof Fragment }) |
266285

267286
Returns `true` if the passed value is considered a fragment. This could either be a fragment VNode or an array. This is consistent with how `render` functions and `h` treat children, with arrays being converted to fragments.
268287

288+
### See also
289+
290+
* [Guide - Checking the VNode type](/guide/checking-the-vnode-type.html)
291+
269292
## isFunctionalComponent()
270293

271294
### Type
@@ -282,6 +305,7 @@ Returns `true` if the passed value is a VNode for a [functional component](https
282305

283306
* [`isComponent()`](#iscomponent)
284307
* [`isStatefulComponent()`](#isstatefulcomponent)
308+
* [Guide - Checking the VNode type](/guide/checking-the-vnode-type.html)
285309

286310
## isStatefulComponent()
287311

@@ -297,10 +321,9 @@ Returns `true` if the passed value is a VNode for a stateful (i.e. non-functiona
297321

298322
### See also
299323

300-
### See also
301-
302324
* [`isComponent()`](#iscomponent)
303325
* [`isFunctionalComponent()`](#isfunctionalcomponent)
326+
* [Guide - Checking the VNode type](/guide/checking-the-vnode-type.html)
304327

305328
## isStatic()
306329

@@ -314,6 +337,10 @@ function isStatic(vnode: any): vnode is (VNode & { type: typeof Static })
314337

315338
Returns `true` if the passed value is a static VNode. Static VNodes are a special kind of VNode used to render large quantities of static HTML without incurring the cost of creating an individual VNode for each element. They aren't returned from slot functions, so in practice they're unlikely to be encountered in the normal use cases for `vue-vnode-utils`.
316339

340+
### See also
341+
342+
* [Guide - Checking the VNode type](/guide/checking-the-vnode-type.html)
343+
317344
## isText()
318345

319346
### Type
@@ -326,6 +353,10 @@ function isText(vnode: any): vnode is (string | number | (VNode & { type: Text }
326353

327354
Returns `true` if the passed value is considered to be text. This could be a text VNode, or a string, or a number. This is consistent with how `render` functions and `h` treat children, with strings and numbers being converted to text nodes.
328355

356+
### See also
357+
358+
* [Guide - Checking the VNode type](/guide/checking-the-vnode-type.html)
359+
329360
## IterationOptions
330361

331362
### Type

docs/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ In a real use case we'd probably be fine with reusing the same `<div>`, so the `
184184
<add-slot-ref-example />
185185
</live-example>
186186

187-
Another way we might approach this is using `addProp()`. This could be used to add a `ref` to a single node, like in the previous example, or it could handle the more general case with multiple top-level nodes:
187+
Another way we might approach this is using `addProps()`. This could be used to add a `ref` to a single node, like in the previous example, or it could handle the more general case with multiple top-level nodes:
188188

189189
<<< @/examples/add-multiple-refs.js
190190

docs/guide/inserting-new-nodes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ The callback will be passed the two VNodes, allowing for conditional logic to de
2222
2323
If the callback returns an array then the individual items will be inserted, it won't be treated as a fragment. Nested arrays will be treated as fragments. This is similar to passing children to `h()`. If the number of items being inserted is dynamic then wrapping them in a fragment can be a useful technique to ensure that VNodes get paired up correctly across re-renders. A fragment can also make it easier to assign suitable `key` values, as the children of a fragment are only eligible for pairing with each other.
2424
25-
`betweenChildren` takes an optional third argument specifying [iteration options](/api.html#iterationoptions), much like with the [iterators](/guide/iterators.html). Unlike those iterators, the default value for `betweenChildren` is `SKIP_COMMENTS`.
25+
`betweenChildren()` takes an optional third argument specifying [iteration options](/api.html#iterationoptions), much like with the [iterators](/guide/iterators.html). Unlike those iterators, the default value for `betweenChildren()` is `SKIP_COMMENTS`.

docs/guide/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The URL above will include the development build, which is not minified and incl
3939
{
4040
"imports": {
4141
"vue": "https://unpkg.com/vue@3/dist/vue.esm-browser.js",
42-
"@skirtle/vue-vnode-utils": "https://unpkg.com/@skirtle/vue-vnode-utils/dist/vue-vnode-utils.esm-browser.dev.js",
42+
"@skirtle/vue-vnode-utils": "https://unpkg.com/@skirtle/vue-vnode-utils/dist/vue-vnode-utils.esm-browser.dev.js"
4343
}
4444
}
4545
</script>

docs/guide/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# What is vue-vnode-utils?
22

3-
`vue-vnode-utils` is a collection of functions that can be used to manipulate Vue VNodes. They are intended to be used inside `render` functions. The most common use case would be manipulating an array of child VNodes returned by a slot:
3+
`vue-vnode-utils` is a collection of functions that can be used to manipulate Vue VNodes. They are intended to be used inside [`render()`](https://vuejs.org/guide/extras/render-function.html) functions. The most common use case would be manipulating an array of child VNodes returned by a slot:
44

55
```vue
66
<script>
@@ -40,7 +40,7 @@ export default {
4040
}
4141
```
4242

43-
See it on the SFC Playground: [Composition API](https://sfc.vuejs.org/#eNp1VE2P2jAQ/Suj9ECQ8kWrXlKg3e65VU+9NFUViAHvJrZlO1kQy3/vs0n42gVxGL9588Yz48k+eFAq6VoW5MHULDVXlgyzrZoXgjdKakt70mwV0VI2qrWsogOttGxohKDRifS44XX1CIoUTNiekaTXsMuDkEIspTAWii2oMycffhoPKLesMUCHfGE4ptmcfpR2kzTlNsyi3uYi9ApJV9Yti2iSjcdQmabHMlAADhBTdWkZTkRTLiBJXdzIitWzIvDxRUB2pxiOom0WTOMMbRwzZ5VbWBOYR4XrgjwGtOLd/DtbSc2mqbPPMJIBdtrE8Xe19VLut9+ToMOhp9+Ezh9WlukzOr3pJsBpeqoviILjKOKmVMmTkQIT3bu4oncgcU4ecRhG4c5FsLFWmTxNzWrp5vNkEqnXKaxEozm8YQkzTbzQ8sUwDeEiiAaNb+aZa1szx447gabGreW1T3QWboV6XicYZ3qPjxKNvQWv0lasu04NcgpHx3SsmaiYdnO7X84N9U1JThZjOKCLb5/seTUul2Lz/iL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==)
43+
See it on the SFC Playground: [Composition API](https://sfc.vuejs.org/#eNp1VMuO2zAM/BXCPcQB/EqLXtw8ut1zi556qYvCiZVEu7YkSLI3QZB/70ix89omyIEaDociKfoQPCmVdC0L8mBqVporS4bZVs0LwRsltaUDabaOaCUb1VpW0ZHWWjY0QtDoTHre8rp6BkUKJmzPSNJb2OVBSCFWUhgLxRbUmZMPP40HlFvWGKBDvjAc02xO30u7TZpyF2ZRb3MReoWkK+uWRTTJxmOoTNNTGSgAB4ipurQMJ6IpF5CkLm5kxepZEfj4IiC7VwxH0TZLpnGGNo6Zs8odrAnMk8JtQR4DWvFu/o2tpWbT1NkXGMkAO23i+Lvaein3OxxI0PHY0+9C509ry/QFnd51E+A0PdcXRMFpFHFTquTFSIGJHlxc0TuQOCePOAyjcOci2FqrTJ6mZr1y83kxidSbFFai0RzesISZJl5q+WaYhnARRIPGV/PKta2ZY8edQFPj1vLaJ7oIt0K9bhKMM33ER4nG3oM3aSvW3aYGOYWjYzrWTFRMu7k9LueO+q4kJ4sxHNHF90/2shrXS7H9/yIcqKyqn1oqc/Y/KtuvAtv5sIqty7ZGuLuJX8DwbwQxU0sLpfEwOA2XFnTaiR4j7IrbHMf99QPybn18IPrmZRcJAhYL+v3HpbyOWblq0RZEDPcOLzrRfaLzBa4QSNWlMTmNmn3s9VDY4OrfNgys5mD3GttwhLc9wqelvwQonupH3E/kfqGN3ddum5Mh2ekqS6kx2ZwmakdG1ryiD1mWfXGuptQbLmIrVU6f1a7HdvEbr+w2p49Z1oMKHeBiM7BOqX264PgP0vu57A==) | [Options API](https://sfc.vuejs.org/#eNp1VMmO2zAM/RXCLZAEiJe06MV1kk7n3KKnXuoenFiJNWMtkGSPg8D/PpS8ZZkEOYiP5HsiRfrsPUkZ1BXxYi/Re0Wl2aScMimUgeeClvmzQIMTbuCgBINZEF7DNnmW8pSTxiXl5JBVpYFzygH2Q5SOOwBuSC3WLm06QJ6ZbL4Y4hQxleKDZakqbmL42tntZaJVqQzJRw1qCNMT1Uj2KzNFwLJmHi37M+VzU1AdOPYlrKLF4lIg5fhPwrExaCC1LDND0AJIKEdlqH0mclKuU8/xpB6YkyRo8ortiEIbhdCM7Clr8LTCY8dw3Q+HIZrTevOTHIQiSWjPE4xiCFtuoPi3lfZU9nc+A4fWXR7Db1I3TwdD1IQmN0+JYBKO9XlLr5sDn2UyeNGC44y4jqa9A4XHlqcezoG1U68wRuo4DPVhb4fjRQdCHUM8BQqbQxkJiGb+Tok3TRQSpx6+Y8fxQ79SZUpio/2aY1P9ytDSCU3EFZevR3wyFj6KxxK1uQWvZHNSX0tjcIiOmihfEZ4TZd/tcTk3oXclDeODXbzfl4+W7QwFtP2OdSs1OrI8/6OE1KP/UdkP97C75rQRe8G1AV0K8/c3ZmtYg1uDzxbS2ByXuw0wY7uFf//7Jl3k7m1RSIuZw/XmE98SMHO9uVvA0UaaMtP4VZixk++48O6dox/eFhfx6ktQzGc4uLPlKO029aMV1eZU2v0MBu5OdycUNiGGlWxAi5Lm8CmKou/WxTJ1pNw3QsbwTTY91vhvNDdFDF+iqAclFkv5cYjqpJ2c174DBlzG3w==)
4444

4545
---
4646

docs/guide/iterators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The iterator callback will be passed a fully instantiated VNode, even if the ori
3535
3636
Fragment nodes are never passed to the iterator callback. Instead, the iterator will iterate through the children of the fragment. The iterators do not walk the children of any other node type, just fragments. They are only attempting to iterate what would generally be considered the 'top-level' VNodes.
3737
38-
The optional third argument for each iterator is an object containing iteration options. The iterators will usually pass all node types to the callback, but the options can be used to restrict iteration to specific types of node. The available node types are `component`, `element`, `text`, `comment` and `static`.
38+
The optional third argument for each iterator is an object containing [iteration options](/api.html#iterationoptions). The iterators will usually pass all node types to the callback, but the options can be used to restrict iteration to specific types of node. The available node types are `component`, `element`, `text`, `comment` and `static`.
3939
4040
So if we only want to iterate over `text` nodes we can pass `{ text: true }` as the third argument.
4141
@@ -61,7 +61,7 @@ function ChildComponent(_, { slots }) {
6161
}
6262
```
6363
64-
See it in the SFC Playground: [Composition API](https://sfc.vuejs.org/#eNp9VGFP2zAQ/SunMKmtaJNuXyZlQGFo2qaNbRpI+0AQhMRpTV07sp3Sqep/37OTpqTA1Faqfc/vvTvfeR2clWW4rFgQB0cm07y0ZJitypNE8kWptKU1aZZmli8ZbajQakE94Htt/Ds39g+3sytlU9EAwqizGz4Y4BOZKWksccsWho5b2v51Igkylq1sTL3fLO8NyczUY0xWV1AdduKfNWOyRRSpMM8gHwUMdjkSeTPYWXCRMyFgoj+g4xNau+OF0tTfWSRV1FYHdZj8KnRHcc6xul0Q43sU1bVD1bAArBSpZVgRHd1X1ipJp5ng2fw4CRrtJPBhoktHmGLDgaMaXZ8UqOHoEUUcWVfFBt/S03IEy2D0brms3ba8ngAYXjQQb/1JGAVb1zm5stEGeWwDz0w/Td2XHDxfeM46hv3JSPCt0ahbCET28+lAgmFQt9RokZZoGSXRlL700PcBJBdvLyMJ0IVunQQza0sTR5EpMtfKDyZUehrhX6grafmChcwsRvdaPRqmQZwEvl0cx6mZc20Fc+jRUqqcjSrLhRfaEVeynE/DTC2i1/BRjtz2NzuyOVt2pQGOEFgyPdJM5kwz/b909qDPUto2I6q4P3soYzvLs5eHeE0Yxtn5jIt8SJffvv66Pf95cfHpx9Vli38tdT/ZbOVpclaklbBUVBKjjQbyjOcKIpJJ278dQskIZQ1tmrGqBy5zOOSG9vJhlMszTUIM6GRC1ze+D/ATDGiFewV0vN1szfe3RMNmsj308HAvKTwF9UGNt05LmvV7OV/iyfBPEe3Wd561Zonpzdr/2dwNmlusjUwcvhKAb9UHFJOs6pl27w4uBvdi7F/BTJgZdyPNhB0ShOpK3CuNq43pbbkiowTP6WA8Hn9woUWqp1xibEqEx+Wq2VxhmnI7i+ndeLtZpnnO5bSFQTmBk0YhzeZTDc95TAfFe/fxh15QzrLsiXJNR2NydjwlnhZP2dGrw8HmH3o0IAY=) | [Options API](https://sfc.vuejs.org/#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kZZdKhLxRpznAu2bKQy8J1p84eZ+lKagkOl5BJGSTq4Te71KBcAuaBr50NoVbTcwMbelhKJBBVGZ/4Chpz2ajvx/gCkMMV4vwMqaloluhMAM3SJNFfdGWADhq5NBqPflIwmoGv5kIFRLQ2cO6jPilLR46qC61eAH3lLd/g61LX/cGfra/8vqakleVRo/U4575TkJjeVVDAupdDGyQBZgamZTpymXnGnMrEMcORCd5aQgQ+cC/w9TPt24QHdGl4YiieAw7vWGCngpOSsXBzlUUgpj5wZ4MIGKPDCglOP9p4c2xM/YH9iYxsU8D09rGLUgoxOBhO+Kz2vI0AMqwLESXlixipvvEZba9j2hX0h6aelcN1Cni+M0EHCzjPlrEs0HRYCLbt6BpBoEvm3Hi+LBt+yFDgHvm3BgOL6zuYRDoo951FtTKOzNNVVaafnXidSzVP8SlQrDFvShOplfKfkg6YKifMovLQ8OtELpgynFh2vhCQ0bg3jLtAjcSuaxTzBAUpfw6cEte1eDsISuhqGRnCKhhVVsaKCUEXV/+TsQJ9J6h4jVnF3KWAZwxLZQA3bsDyQGrdFb6BFWZ/VjJMJXHz7+uvm7Of5+acflxc9/jXpSPJs4VStKA3DB+QYz7rNM76ZYCTNpdGwDaPmJ7G0ONSGz8uZsVyOaZbg6M5mcOWG3f5ximiJfUXotLvskx93RBNAx6NjDz042BG13zmGxVaPR4StcM+Ejdafbx2rZ8ngzcZ9bG/3Qxd9IjOLbznCu+j7kIFo/UxfYzBsDPZFm7+c6qTUtiNhwg4AA/lK3EmFrc3gbbMGLTkjsDedTj+4tVaoORM4Ng2ap806XK5xmoipM3g37S6bghAm5j0MI+eYSYhQlIu5wpxJBnvVe/vjnF6IXJblk8ieDqZg03GUuFoc5SCeN0fbfzO5O9A=)
6565
6666
The example uses `SKIP_COMMENTS` to skip over the comment nodes created by the falsy `v-if` conditions.
6767

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ hero:
1717
link: https://github.com/skirtles-code/vue-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