qr-element
qrcode dom element
Last updated 8 years ago by shtylman .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install qr-element 
SYNC missed versions from official npm registry.

qr-element

qrcode dom element

var qr = require('qr-element');

// default canvas rendering
var qrcode = qr('foo', {
    width: 128,
    height: 128
});

qrcode // =>

interactive readme
interactive example

options

width

Width in pixels of the element

height

Height in pixels of the element

background

default #fff

Background color hex

foreground

default #000

Foreground color hex

typeNumber

correctLevel

install

npm install qr-element

Use with browserify

Current Tags

  • 0.0.0                                ...           latest (8 years ago)

1 Versions

  • 0.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (2)
Dev Dependencies (1)

Copyright 2014 - 2017 © taobao.org |