mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
18 lines
303 B
JavaScript
18 lines
303 B
JavaScript
import { LitElement, html, css } from 'lit-element';
|
|
|
|
class LazyComponent extends LitElement {
|
|
static get styles() {
|
|
return css`
|
|
p {
|
|
color: red;
|
|
}
|
|
`;
|
|
}
|
|
|
|
render() {
|
|
return html` <p>Lazy component</p> `;
|
|
}
|
|
}
|
|
|
|
customElements.define('lazy-component', LazyComponent);
|