dom.d.ts 415 B

1234
  1. export declare function transformLocalCoord(out: number[], elFrom: HTMLElement, elTarget: HTMLElement, inX: number, inY: number): boolean;
  2. export declare function transformCoordWithViewport(out: number[], el: HTMLElement, inX: number, inY: number, inverse?: boolean): boolean;
  3. export declare function isCanvasEl(el: HTMLElement): el is HTMLCanvasElement;
  4. export declare function encodeHTML(source: string): string;