Skip to content

Commit 0da6b59

Browse files
authored
Merge pull request #241 from fabiodepin/patch-8
Update special-attributes.md
2 parents 3db5f71 + ac3953c commit 0da6b59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api/special-attributes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565
<component :is="currentView"></component>
6666
```
6767

68-
- **Usage on native elements** <Badge text="3.1+" />
68+
- **Uso em elementos nativos** <Badge text="3.1+" />
6969

70-
When the `is` attribute is used on a native HTML element, it will be interpreted as a [Customized built-in element](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-customized-builtin-example), which is a native web platform feature.
70+
Quando o atributo `is` é usado em um elemento HTML nativo, ele será interpretado como um [Elemento integrado personalizado](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-customized-builtin-example), que é um recurso nativo da plataforma web.
7171

72-
There is, however, a use case where you may need Vue to replace a native element with a Vue component, as explained in [DOM Template Parsing Caveats](/guide/component-basics.html#dom-template-parsing-caveats). You can prefix the value of the `is` attribute with `vue:` so that Vue will render the element as a Vue component instead:
72+
No entanto, há um caso de uso em que você pode precisar do Vue para substituir um elemento nativo por um componente Vue, conforme explicado em [Ressalvas na Análise do _template_ DOM](/guide/component-basics.html#ressalvas-na-analise-do-template-dom). Você pode prefixar o valor do atributo `is` com `vue:` para que o Vue renderize o elemento como um componente Vue:
7373

7474
```html
7575
<table>

0 commit comments

Comments
 (0)