Class DomElement

Index

Methods

Methods

public static getBounds(element: HTMLElement): { x: number; y: number; width: number; height: number; }

Parameters

  • element: HTMLElement

Returns

{ x: number; y: number; width: number; height: number; }