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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.