import { LitElement, html, css } from "lit"; import { customElement } from "lit/decorators.js"; import init from "../../es6/shared"; import { SyncMetaWidget } from "../../widget"; // widget body used by all syncmeta widgets @customElement("test-widget") export class TestWidget extends SyncMetaWidget(LitElement, "test-widget") { render() { return html`
`; } static styles = css` #wrapper { max-height: 500px; overflow-y: scroll; } `; connectedCallback() { super.connectedCallback(); init(); } disconnectedCallback() { super.disconnectedCallback(); } }