@wordpress/dom
Version:
DOM utilities module for WordPress.
9 lines • 404 B
TypeScript
/**
* Gets the height of the range without ignoring zero width rectangles, which
* some browsers ignore when creating a union.
*
* @param {Range} range The range to check.
* @return {number | undefined} Height of the range or undefined if the range has no client rectangles.
*/
export default function getRangeHeight(range: Range): number | undefined;
//# sourceMappingURL=get-range-height.d.ts.map