Skip to content

Commit c5e7b33

Browse files
committed
Update app-root demo
1 parent 11496fb commit c5e7b33

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

demo/app-root.ts

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
import { html, css, LitElement, customElement } from 'lit-element';
1+
import { html, LitElement, customElement } from 'lit-element';
22
import '../src/your-webcomponent';
33

44
@customElement('app-root')
55
export class AppRoot extends LitElement {
66
render() {
77
return html`
88
<your-webcomponent title="Hello">
9-
<div slot="my-slot">Some LightDOM Content</div>
9+
<div slot="my-slot">Some slotted content</div>
1010
</your-webcomponent>
1111
`;
1212
}
13-
14-
static styles = css`
15-
:host {
16-
display: block;
17-
padding: 25px;
18-
color: var(--your-webcomponent-text-color, #000);
19-
}
20-
`;
2113
}

0 commit comments

Comments
 (0)