DefinitelyTyped/types/ol/dom.d.ts
2020-03-20 11:38:49 -04:00

12 lines
506 B
TypeScript

export function createCanvasContext2D(
opt_width?: number,
opt_height?: number,
opt_canvasPool?: HTMLCanvasElement[],
): CanvasRenderingContext2D;
export function outerHeight(element: HTMLElement): number;
export function outerWidth(element: HTMLElement): number;
export function removeChildren(node: Node): void;
export function removeNode(node: Node): Node;
export function replaceChildren(node: Node, children: Node[]): void;
export function replaceNode(newNode: Node, oldNode: Node): void;