ark-qrcode-vue

1.0.2 • Public • Published

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.

Attribute Description Type Required
address Ark recipient address encoded in Base58. String Yes
amount Amount in ARK (Ѧ) or DARK (DѦ). Number No
label Recipient label string. String No
size Size of the QR code (pixels) Number No
show-logo Display the ARK logo in QR code Boolean No
vendor-field Vendor field string (encoded URI). String No

Authors

License

MIT © Brian Faust

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i ark-qrcode-vue

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • faustbrian