type

sets the barcode type

string type;

Values

  • "ean8"
    encodes eight digits
  • "ean13"
    encodes thirteen digits
  • "upcA"
    encodes twelve digits
  • Example

    webix.ui({
        view:"barcode",
        type: "upcA"
    });
     
    //or
    var barcode = webix.ui({
        view:"barcode"
    });
    barcode.define("type", "upcA");


    Default value:

    "ean13" Back to top
    If you have not checked yet, be sure to visit site of our main product Webix html5 library and page of javascript barcode product.