Browse documentation

v-html

Concept. Assigns direct HTML content.

Table of contents

Category

Concept

Public signature

ts
JSX directive: <element v-html={htmlString} />

Runtime behavior

v-html assigns the provided HTML string as the vnode content in browser rendering and SSR.