Skip to content

VueQrious

🤳 A Vue component for QR code generation with qrious

TOC

Demo

Usage

vue
<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
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