Skip to content
PACKAGES

imageSizeMeasurements()

Provider helper for image-size facts from caller-owned synchronous image measurers.

import { imageSizeMeasurements } from "@graphrefly/ts/solutions/reactive-layout";
function imageSizeMeasurements(opts: ImageSizeMeasurementsOptions): Node<Measurements>
ParameterTypeDescription
optsImageSizeMeasurementsOptionsOptions that configure the helper.

A Node<Measurements> value.

import { imageSizeMeasurements } from "@graphrefly/ts/solutions/reactive-layout";

packages/ts/src/solutions/reactive-layout/measurements.ts