0.0.16 • Published 2 years ago

vbarcode v0.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

VBarcode

This is a JsBarcode vue 3 wrapper.

View JsBarcode to learn more.

Install

pnpm i vbarcode

Example

<script setup lang="ts">
import { VBarcode } from "vbarcode";
</script>
<template>
  <v-barcode value="Apple" />
</template>

Props:

For props, try to match the wiki page from JsBarcode, if there is anything not matching please let me know.

OptionDefault valueType
format"auto" (CODE128)String
width2Number
height100Number
displayValuetrueBoolean
textundefinedString
fontOptions""String
font"monospace"String
textAlign"center"String
textPosition"bottom"String
textMargin2Number
fontSize20Number
background"#ffffff"String (CSS color)
lineColor"#000000"String (CSS color)
margin10Number
marginTopundefinedNumber
marginBottomundefinedNumber
marginLeftundefinedNumber
marginRightundefinedNumber
validfunction(valid){}Function
0.0.16

2 years ago

0.0.15

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago