VueQrious

🤳 A Vue component for QR code generation with qrious

TOC

Demo

Usage

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

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

Available Props

proptype (range)default value
backgroundstring (CSS color)"#ffffff"
backgroundAlphanumber (0.1-1.0)1.0
foregroundstring (CSS color)"#000000"
foregroundAlphanumber (0.1-1.0)1.0
levelstring ("L", "M", "Q", "H")"L"
mimestring ("image/png", "image/jpeg")"image/png"
paddingnumbernull
sizenumber100
valuestringN/A

Available Events

eventtype
changedataUrl: string

Sponsors

1stGRxTSUnTS

Backers

1stGRxTSUnTS

Changelog

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

License

MIT © JounQin@1stG.me