scopedName()
Build a scoped measurement name.
Import
Section titled “Import”import { scopedName } from "@graphrefly/ts/solutions/reactive-layout";Signature
Section titled “Signature”function scopedName( scope: string, local: string,): stringParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
scope | string | Scope prefix. |
local | string | Local name. |
Returns
Section titled “Returns”The scoped name, or local when already scoped.
Example
Section titled “Example”scopedName("layout", "text");Source
Section titled “Source”packages/ts/src/solutions/reactive-layout/measurements.ts