element-vir
Version:
Heroic. Reactive. Declarative. Type safe. Web components without compromise.
37 lines (36 loc) • 847 B
JavaScript
import { LitElement } from '../lit-exports/base-lit-exports.js';
/**
* Abstract class base for all declarative elements.
*
* @category Internal
*/
export class DeclarativeElement extends LitElement {
/**
* Assign inputs to an element instantiation. Use only on the opening tag.
*
* @example
*
* ```ts
* import {html} from 'element-vir';
*
* const myTemplate = html`
* <${MyElement.assign({input1: 'a', input2: 'b'})}></${MyElement}>
* `;
* ```
*/
static assign;
static assignedInputs;
static tagName;
static styles;
static render;
static InputsType;
static StateType;
static UpdateStateType;
static events;
static init;
static elementOptions;
static hostClasses;
static cssVars;
static slotNames;
static testIds;
}