Skip to content

Commit 8c7fb85

Browse files
authored
Update explanation
1 parent c8635c1 commit 8c7fb85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/built-in-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Update the element's text content.
88

99
- **Details**
1010

11-
`v-text` works by setting the element's [textContent](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) property, so it will overwrite any existing content inside the element. If you need to update only part of the `textContent`, you should use [mustache interpolations](/guide/essentials/template-syntax#text-interpolation) instead (ie. `<span>Keep this but update a {{dynamicPortion}}</span>`).
11+
`v-text` works by setting the element's [textContent](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) property, so it will overwrite any existing content inside the element. If you need to update only part of the `textContent`, you should use [mustache interpolations](/guide/essentials/template-syntax#text-interpolation) instead (ie. <span v-pre><span>Keep this but update a {{dynamicPortion}}</span></span>).
1212

1313
- **Example**
1414

0 commit comments

Comments
 (0)