UNPKG

523 BTypeScriptView Raw
1import { RenderingContext2D } from '../types';
2import { Document } from './Document';
3import { TextElement } from './TextElement';
4export declare class AElement extends TextElement {
5 type: string;
6 protected readonly hasText: boolean;
7 protected readonly text: string;
8 constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
9 getText(): string;
10 renderChildren(ctx: RenderingContext2D): void;
11 onClick(): void;
12 onMouseMove(): void;
13}
14//# sourceMappingURL=AElement.d.ts.map
\No newline at end of file