码迷,mamicode.com
首页 > Web开发 > 详细

jquery qrcode参数

时间:2016-08-10 16:13:10      阅读:2942      评论:0      收藏:0      [点我收藏+]

标签:

{
    // render method: ‘canvas‘, ‘image‘ or ‘div‘
    render: canvas,

    // version range somewhere in 1 .. 40
    minVersion: 1,
    maxVersion: 40,

    // error correction level: ‘L‘, ‘M‘, ‘Q‘ or ‘H‘
    ecLevel: L,

    // offset in pixel if drawn onto existing canvas
    left: 0,
    top: 0,

    // size in pixel
    size: 200,

    // code color or image element
    fill: #000,

    // background color or image element, null for transparent background
    background: null,

    // content
    text: no text,

    // corner radius relative to module width: 0.0 .. 0.5
    radius: 0,

    // quiet zone in modules
    quiet: 0,

    // modes
    // 0: normal
    // 1: label strip
    // 2: label box
    // 3: image strip
    // 4: image box
    mode: 0,

    mSize: 0.1,
    mPosX: 0.5,
    mPosY: 0.5,

    label: no label,
    fontname: sans,
    fontcolor: #000,

    image: null
}

 


来源:https://larsjung.de/jquery-qrcode/

jquery qrcode参数

标签:

原文地址:http://www.cnblogs.com/daozm/p/5756934.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!