Course lesson
Render HTML directly into a component in Svelte 3
Disclaimer: please use this feature carefully.
- Duration
- 1 min
- Access
- Pro
- Transcript
- Available
Disclaimer: please use this feature carefully.
Sometimes we need to render HTML (that comes from a source that we trust!) directly into a component, for instance when we're using a WYSIWYG editor that we control.
In this quick lesson we're going to learn how to use @html in order to render HTML markup from a textarea into a div element.