0.1.6 • Published 5 years ago

@mu-ui/mu-qrcode v0.1.6

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

mu-qrcode

qrcode vue component for vue 2.x by using node-qrcode

Installation

yarn add @mu-ui/mu-qrcode

Usage

import Qrcode from '@mu-ui/mu-qrcode'

Vue.component('qrcode', Qrcode)

<qrcode val="https://github.com/mu-ui/mu-ui/"></qrcode>

Options

val

Type: String

the url address you want to generate a qrcode

size

Type: Number Default: 128

size of the qrcode

margin

Type: Number Default: 2

Define how much wide the quiet zone should be

type

Type: String Default: canvas

canvas or img

dark

Type: String Default: #000

Color of dark module. Value must be in hex format (RGBA).

light

Type: String Default: #fff

Color of light module. Value must be in hex format (RGBA).

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

6 years ago