Skip to content

Commit 02ea623

Browse files
authored
Update built-in-components.md rename <teleport> to <Teleport>
I think teleport component name should be capitalized. Sincere sorry if I'm wrong.
1 parent 7fe90c5 commit 02ea623

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/api/built-in-components.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -294,17 +294,17 @@ Renders its slot content to another part of the DOM.
294294
Specifying target container:
295295

296296
```vue-html
297-
<teleport to="#some-id" />
298-
<teleport to=".some-class" />
299-
<teleport to="[data-teleport]" />
297+
<Teleport to="#some-id" />
298+
<Teleport to=".some-class" />
299+
<Teleport to="[data-teleport]" />
300300
```
301301

302302
Conditionally disabling:
303303

304304
```vue-html
305-
<teleport to="#popup" :disabled="displayVideoInline">
305+
<Teleport to="#popup" :disabled="displayVideoInline">
306306
<video src="./my-movie.mp4">
307-
</teleport>
307+
</Teleport>
308308
```
309309

310310
- **See also** [Guide - Teleport](/guide/built-ins/teleport)

0 commit comments

Comments
 (0)