tui-vue-barcode
v0.0.4
Published
a vue barcode component dependence on jsbarcode
Downloads
56
Readme
tui-vue-barcode
a vue barcode component dependence on JsBarcode
Install
npm i tui-vue-barcode
Usage
import barcode from 'tui-vue-barcode'
Vue.component('barcode', barcode)
<template>
<barcode v-model="code"></barcode>
</template>
<script>
export default {
data() {
return {
code: 12345678,
}
},
}
</script>
Props
|Name|Desc|Type|Default| |---|---|---|---| |value|barcode text|string/number|-| |type|img or canvas|string|canvas| |options|barcode options|object|-|
Options
dependence JsBarcode