UNPKG

@syncfusion/ej2-barcode-generator

Version:

Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code.

23 lines (22 loc) 590 B
import { Code128 } from './code128'; /** * code128A used to calculate the barcode of type 1228A */ export declare class Code128A extends Code128 { /** * Validate the given input. * * @returns {string} Validate the given input. * @param {string} char - provide the input values . * @private */ validateInput(char: string): string; /** * Draw the barcode SVG.\ * * @returns {void} Draw the barcode SVG . * @param {HTMLElement} canvas - Provide the canvas element . * @private */ draw(canvas: HTMLElement): void; }