Skip to content

ScanQrCode.vue ​

Image of the component

This component displays a popup dialog showing the QR code and allows the user to scan it.

📄 View source on GitHub

Props ​

NameTypeRequiredDefault
modelValueBoolean✅false

Emits ​

  • update:modelValue

Used by ​

Reactivity ​

(anonymous) (watch) ​

Watch for changes in the modelValue (showDialog) prop and update local state

(anonymous) (watch) ​

Watch for changes in local state of showDialog to automatically trigger the update:modelValue event, to let the parent know when to close the dialog

Released under the MIT License.