ElementRect
A rectangle as the renderer reports it, in CSS pixels.
Import:
import type { ElementRect } from 'obsidian-integration-testing';Signature:
export interface ElementRectProperties
| Property | Type | Description |
|---|---|---|
| height | number | The rectangle's height. |
| left | number | The distance from the viewport's left edge. |
| top | number | The distance from the viewport's top edge. |
| width | number | The rectangle's width. |
Links to this page: