Skip to main content

ItemsDataApplier

Classes​

ItemsDataApplier​

Constructors​

Constructor​
new ItemsDataApplier(
productHandler,
canvas,
productThemeManager): ItemsDataApplier;
Parameters​
ParameterType
productHandlerProductHandler
canvasCanvas
productThemeManagerProductThemeManager
Returns​

ItemsDataApplier

Methods​

applyToItem()​
applyToItem(
item,
data,
params?): Promise<boolean>;
Parameters​
ParameterTypeDefault value
itemItemundefined
dataIItemDataundefined
paramsIApplyParamsnull
Returns​

Promise<boolean>

getBarcodeRatio()​
static getBarcodeRatio(barcodeFormat): any;
Parameters​
ParameterType
barcodeFormatBarcodeFormat
Returns​

any

parseItemsDataValueRelativeToHeight()​
static parseItemsDataValueRelativeToHeight(
value,
productHandler,
relativeToPrintArea): any;
Parameters​
ParameterType
valuestring | number
productHandlerProductHandler
relativeToPrintAreaboolean
Returns​

any

Interfaces​

IApplyParams​

Properties​

applyPropertiesDeep?​
optional applyPropertiesDeep?: boolean;
changePosition?​
optional changePosition?: boolean;
ignorePermissions?​
optional ignorePermissions?: boolean;
relativeToPrintArea?​
optional relativeToPrintArea?: boolean;
Was this page helpful?