AElement.d.ts 528 B

1234567891011121314
  1. import { RenderingContext2D } from '../types';
  2. import Document from './Document';
  3. import TextElement from './TextElement';
  4. export default 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