j-EAN13
The component will draw EAN-13 barcode according to the path value.
- Included https://github.com/joushx/jQuery.EAN13 library (Johannes Mittendorfer, MIT license)
Configuration:
width {Number}barcode width, height is automatically calculated (default:200)padright {Boolean}iftrue, it fills the value0from the right side andfalsefrom 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.
<ui-component name="EAN13" path="eancode"></ui-component>
<script>
var eancode = '1234567890123';
</script>