@borrey/inner-html

simple webcomponent that will display an html property

Usage no npm install needed!

<script type="module">
  import borreyInnerHtml from 'https://cdn.skypack.dev/@borrey/inner-html';
</script>

README

inner-html

webcomponent that inserts html from an propery .html

Getting started

Installation

From inside your project folder, run:

$ npm install inner-html

Minimal Example

    <inner-html .html='<p>Hello World</p>' />

will result in:

    <inner-html><p>Hello World</p></inner-html>