-
Notifications
You must be signed in to change notification settings - Fork 2
Usage ‐ Barcode
Bart Don edited this page Jan 2, 2024
·
2 revisions
To generate a barcode you can use our operation:
Any of the variables can be used in combination with the {{}} tags that Directus Flows supports by default.
You can also generate barcodes within Directus Hooks/Endpoints/Operations. This can be done trough globalThis.TTA.
An example usage:
const fileID = await globalThis.TTA.generateBarCode({
"barcodeContent": "Your barcode content!",
"barcodeType": "code128",
"scale": 2,
"height": 10,
"includetext": true,
});