Fix an example in the docs index page. (#8)

This commit is contained in:
Russell Bicknell
2019-12-20 16:58:32 -08:00
committed by GitHub
parent 3cc8adf0b1
commit 0fdd9a757a
2 changed files with 5 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ import {html, render} from 'lit-html';
const name="lit-html";
render(html`
<h2>This is a my-element>h2>
<h2>This is a &lt;my-element&gt;</h2>
<my-element .name=${name}></my-element>
`, document.body);
```
@@ -66,6 +66,7 @@ render(html`
</div>
<div>
<h2>This is a &lt;my-element&gt;</h2>
<my-element name="lit-html"></my-element>
</div>