Skip to content
PACKAGES

scopedName()

Build a scoped measurement name.

import { scopedName } from "@graphrefly/ts/solutions/reactive-layout";
function scopedName(
scope: string,
local: string,
): string
ParameterTypeDescription
scopestringScope prefix.
localstringLocal name.

The scoped name, or local when already scoped.

scopedName("layout", "text");

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