@burnmark-io/designer-core / applyVariables
Function: applyVariables()
applyVariables(
doc,variables):LabelDocument
Defined in: packages/core/src/template.ts:84
Produce a new document with placeholders substituted. Deep-clones; does not mutate the input. Only text content and barcode data are substituted.
Parameters
doc
variables
Record<string, string>