Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
15 lines
658 B
Plaintext
15 lines
658 B
Plaintext
import { Context } from '../../core/context';
|
|
export declare class Bounds {
|
|
readonly left: number;
|
|
readonly top: number;
|
|
readonly width: number;
|
|
readonly height: number;
|
|
constructor(left: number, top: number, width: number, height: number);
|
|
add(x: number, y: number, w: number, h: number): Bounds;
|
|
static fromClientRect(context: Context, clientRect: ClientRect): Bounds;
|
|
static fromDOMRectList(context: Context, domRectList: DOMRectList): Bounds;
|
|
static EMPTY: Bounds;
|
|
}
|
|
export declare const parseBounds: (context: Context, node: Element) => Bounds;
|
|
export declare const parseDocumentSize: (document: Document) => Bounds;
|