@custom-elements-manifest/analyzer
Version:
<!-- [=> See Source <=](../../docs/analyzer/index.md) -->
14 lines (12 loc) • 337 B
JavaScript
import { BatchingElement } from './BatchingElement.js';
export class MyElement extends BatchingElement {
classField;
static observedAttributes = [...super.observedAttributes, 'class-attr'];
classMethod() {
this.dispatchEvent(new Event('class-event'))
}
constructor() {
super();
this.overriddenField = 'bye';
}
}