From 54fb21a4fd20334d8ee5c91d3f04c43ab1d83243 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Mon, 29 Jun 2020 07:43:28 +0200
Subject: [PATCH] Add event documentation (VPU/Apps/Signature#28)

---
 packages/file-handling/README.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/packages/file-handling/README.md b/packages/file-handling/README.md
index aed16dc5..c17e4cab 100644
--- a/packages/file-handling/README.md
+++ b/packages/file-handling/README.md
@@ -31,6 +31,14 @@
     - example `<vpu-file-source nextcloud-web-dav-url="http://localhost:8081/remote.php/dav/files"></vpu-file-source>`
     - `nextcloud-auth-url` also needs to be set for the Nextcloud file picker to be active
 
+### Events
+
+#### `vpu-file-source-file-selected`
+
+This event is sent if a file was selected.
+
+**Payload**: `{'file': File}` where `File` is the binary file that was selected
+
 ## Local development
 
 ```bash
-- 
GitLab