UNPKG

@lion/form-core

Version:

Form-core contains all essential building blocks for creating form fields and fieldsets

18 lines (15 loc) 446 B
import { LitElement } from '@lion/core'; 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>`; } }, });