# QrcodeDropZone
## Browser Support
The newest API this component depend on is the [FileReader API](https://caniuse.com/#feat=filereader).
Vue Native is not supported (see [#206](https://github.com/gruhn/vue-qrcode-reader/issues/206)).
|  |  |  |  |  |
| :---------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------: |
| 10+ | Yes | Yes | Yes | Yes |
## Events
### `decode`
* **Payload Type:** `String`
You can drag-and-drop image files from your desktop or images embedded into other web pages anywhere in the area the component occupies. The images are directly scanned and positive results are indicated by the `decode` event. You can also drop multiple images at the same time (still one event per image though).
However, if no QR code is pictured or an error occurs, `decode` silently fails.
```html
```
```javascript
methods: {
onDecode (decodedString) {
// ...
}
}
```
### `detect`
* **Payload Type:** `Promise