imageSizeMeasurements()
Provider helper for image-size facts from caller-owned synchronous image measurers.
Import
Section titled “Import”import { imageSizeMeasurements } from "@graphrefly/ts/solutions/reactive-layout";Signature
Section titled “Signature”function imageSizeMeasurements(opts: ImageSizeMeasurementsOptions): Node<Measurements>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
opts | ImageSizeMeasurementsOptions | Options that configure the helper. |
Returns
Section titled “Returns”A Node<Measurements> value.
Example
Section titled “Example”import { imageSizeMeasurements } from "@graphrefly/ts/solutions/reactive-layout";Source
Section titled “Source”packages/ts/src/solutions/reactive-layout/measurements.ts