ForgeComponents
en

Components

j-EAN13

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20

The component will draw EAN-13 barcode according to the path value.


Configuration:

  • width {Number} barcode width, height is automatically calculated (default: 200)
  • padright {Boolean}if true, it fills the value 0 from the right side and false from the left side

Use it with <ui-component name="ean13">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

example.html
<ui-component name="EAN13" path="eancode"></ui-component>

<script>
	var eancode = '1234567890123';
</script>