UNPKG

@web-package/react-widgets

Version:

This is package that provides templates that can significantly reduce CSS development works in a react development environment.

8 lines (7 loc) 326 B
import { MeasuredSize } from "../types"; export declare class ElementUtil { /** Call the function to trigger a reflow of the given element. */ static reflow(target: HTMLElement): void; /** Gets a intrinsic size(i.e. width, height) of a given element. */ static sizeOf(element: Element): MeasuredSize; }