From 4b9f1777d8a9640ebf4473942b57f976fda74d55 Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Mon, 20 Jul 2020 13:38:52 +0300 Subject: [PATCH] docs: add JSDoc for attributes [skip ci] (#319) --- src/vaadin-upload.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/vaadin-upload.html b/src/vaadin-upload.html index f867f31..7181df4 100644 --- a/src/vaadin-upload.html +++ b/src/vaadin-upload.html @@ -213,6 +213,7 @@ /** * Limit of files to upload, by default it is unlimited. If the value is * set to one, native file browser will prevent selecting multiple files. + * @attr {number} max-files * @type {number} */ maxFiles: { @@ -222,6 +223,7 @@ /** * Specifies if the maximum number of files have been uploaded + * @attr {boolean} max-files-reached * @type {boolean} */ maxFilesReached: { @@ -251,6 +253,7 @@ * Notice that it is a client-side constraint, which will be checked before * sending the request. Obviously you need to do the same validation in * the server-side and be sure that they are aligned. + * @attr {number} max-file-size * @type {number} */ maxFileSize: { @@ -271,6 +274,7 @@ /** * Specifies the 'name' property at Content-Disposition + * @attr {string} form-data-name * @type {string} */ formDataName: { @@ -281,6 +285,7 @@ /** * Prevents upload(s) from immediately uploading upon adding file(s). * When set, you must manually trigger uploads using the `uploadFiles` method + * @attr {boolean} no-auto * @type {boolean} */ noAuto: { @@ -290,6 +295,7 @@ /** * Set the withCredentials flag on the request. + * @attr {boolean} with-credentials * @type {boolean} */ withCredentials: {