v-text
-
Expects:
String
-
Details:
Updates the element’s
textContent
.Internally,
{{ Mustache }}
interpolations are also compiled as av-text
directive on a textNode. The directive form requires a wrapper element, but offers slightly better performance and avoids FOUC (Flash of Uncompiled Content). -
Example:
<span v-text="msg"></span> <!-- same as --> <span>{{msg}}</span>
Please login to continue.