1.0.2 • Published 6 years ago

ark-qrcode-vue v1.0.2

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

npm.io

ARK QRCode Vue

Installation

You can install the package via yarn:

yarn add ark-qrcode-vue

or npm:

npm install ark-qrcode-vue --save

Next you must register the component.

import ArkQRCode from 'ark-qrcode-vue'

Vue.use(ArkQRCode)

Browser Support

ark-qrcode-vue has the same browser support as Vue (see https://github.com/vuejs/vue). To use it in a browser based environment simply include <script src='https://unpkg.com/ark-qrcode-vue@latest/dist/index.js'></script> in your header.

Usage

<ArkQrCode address="DE6os4N86ef9bba6kVGurqxmhpBHKctoxY" :amount="20.3" />

Properties

This package complies with the specifications described in AIP-13.

AttributeDescriptionTypeRequired
addressArk recipient address encoded in Base58.StringYes
amountAmount in ARK (Ѧ) or DARK (DѦ).NumberNo
labelRecipient label string.StringNo
sizeSize of the QR code (pixels)NumberNo
show-logoDisplay the ARK logo in QR codeBooleanNo
vendor-fieldVendor field string (encoded URI).StringNo

Authors

License

MIT © Brian Faust

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago