DefinitelyTyped/types/ol/dom.d.ts
2020-01-06 13:12:33 -08:00

8 lines
453 B
TypeScript

export function createCanvasContext2D(opt_width?: number, opt_height?: number): 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;