1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Render HTML directly into a component in Svelte 3

    sveltesvelte

    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.