Adding flat option to EAN13 format not working when define the value option in the HTML element.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<br />Barcode1:
<svg id="barcode1"></svg>
<br /><br />Barcode2:
<svg class="barcode" jsbarcode-format="EAN13" jsbarcode-flat=true jsbarcode-value="012345678902"></svg>
<br /><br />Barcode3:
<svg class="barcode" jsbarcode-format="EAN13" flat=true jsbarcode-value="012345678903"></svg>
<br /><br />Barcode4:
<svg class="barcode" jsbarcode-format="EAN13" jsbarcode-flat="true" jsbarcode-value="012345678904"></svg>
</body>
<script src="JsBarcode.all.js"> </script>
<script>
JsBarcode("#barcode1", "012345678901", {
format: "ean13",
flat: true
});
JsBarcode(".barcode").init();
</script>
</html>
Adding flat option to EAN13 format not working when define the value option in the HTML element.