Fix an example in the docs index page. (#8)
This commit is contained in:
@@ -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 <my-element></h2>
|
||||
<my-element .name=${name}></my-element>
|
||||
`, document.body);
|
||||
```
|
||||
@@ -66,6 +66,7 @@ render(html`
|
||||
</div>
|
||||
<div>
|
||||
|
||||
<h2>This is a <my-element></h2>
|
||||
<my-element name="lit-html"></my-element>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user