Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-qrcode

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-qrcode

🤳 A Vue component for QR code generation with `qrcode`

  • 2.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11K
increased by3.43%
Maintainers
2
Weekly downloads
 
Created
Source

VueQrcode

🤳 A Vue component for QR code generation with qrcode

TOC

Demo

Usage

<template>
  <vue-qrcode
    value="https://www.1stg.me"
    @change="onDataUrlChange"
  />
</template>
<script>
import VueQrcode from 'vue-qrcode'

export default {
  data() {
    return {
      dataUrl: null,
    }
  },
  components: {
    VueQrcode,
  },
  methods: {
    onDataUrlChange(dataUrl) {
      this.dataUrl = dataUrl
    },
  },
}
</script>

Available Props

proptype (range)default value
versionnumber (1-40)N/A
errorCorrectionLevelString ('low', 'medium', 'quartile', 'high', 'L', 'M', 'Q', 'H')'M'
maskPatternnumber (0-7)N/A
toSJISFuncFunctionN/A
marginnumber4
scalenumber4
widthnumberN/A
color{ dark: string; light:string }{ dark: '#000000ff', light: '#ffffffff' }
typestring ('image/png', 'image/jpeg', 'image/webp')'image/png'
qualitynumber(0-1)0.92
valuestring |Array<{ data: string; mode?: string }>N/A

Available Events

eventtype
changedataUrl: string

Sponsors

1stGRxTSUnTS
1stG Open Collective backers and sponsorsRxTS Open Collective backers and sponsorsUnTS Open Collective backers and sponsors

Backers

Backers

1stGRxTSUnTS
1stG Open Collective backers and sponsorsRxTS Open Collective backers and sponsorsUnTS Open Collective backers and sponsors

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

MIT © JounQin@1stG.me

Keywords

FAQs

Package last updated on 28 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc