UNPKG

@lion/ui

Version:

A package of extendable web components

18 lines (15 loc) 439 B
import { LitElement } from 'lit'; import { html } from 'lit/static-html.js'; import { runRegistrationSuite } from '../test-suites/FormRegistrationMixins.suite.js'; runRegistrationSuite({ suffix: 'with LitElement', baseElement: LitElement, }); runRegistrationSuite({ suffix: 'with LitElement, using shadow dom', baseElement: class ShadowElement extends LitElement { render() { return html`<slot></slot>`; } }, });