applyDocumentBaseToLayer
applyDocumentBaseToLayer<
T>(layer,base):T
Defined in: packages/core/src/utils/document-base.ts:392
Resolve the URLs of one raw document layer (the addLayer() shape): its
inline source and its popup links.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
layer | T |
base | string | null | undefined |
Returns
Section titled “Returns”T