Barcode element
A barcode or 2D code, drawn as vector graphics.
- { type: barcode, value: ... }Example
Section titled “Example”title: Barcodesbody: reportHeader: - layout: row gap: 20pt content: - { type: barcode, symbology: qr, value: "https://taguareports.com", width: 72pt, alt: A QR code linking to taguareports.com } - { type: barcode, symbology: dataMatrix, value: TAGUA-0042, width: 56pt, alt: A Data Matrix code for TAGUA-0042 } - { type: barcode, symbology: code128, value: INV-0042, width: 130pt, height: 48pt, alt: A Code 128 barcode for INV-0042 } - { type: barcode, symbology: ean13, value: "590123412345", width: 110pt, height: 64pt, alt: An EAN-13 barcode }
Properties
Section titled “Properties”symbology
Section titled “symbology”Type: keyword · Default: qr
The barcode format.
One of:
qrdataMatrixpdf417code128ean13
Type: text · Required
The data to encode (template).
Type: text
Alternative text (template) for screen readers.
It also has the properties of every element and the style properties.