UNPKG

@custom-elements-manifest/analyzer

Version:

<!-- [=> See Source <=](../../docs/analyzer/index.md) -->

18 lines (12 loc) 452 B
import { ReactiveControllerHost } from '@lit/reactive-element'; import { BatchingElement } from './BatchingElement'; export class ImplementsElement extends BatchingElement implements Pick<ReactiveControllerHost, 'implementsMethod'> { classField; static get observedAttributes() { return [...super.observedAttributes, 'class-attr'] }; async implementsMethod() {} classMethod() { this.dispatchEvent(new Event('class-event')) } }