Skip to content

Commit

Permalink
docs: add JSDoc for attributes [skip ci] (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Jul 20, 2020
1 parent 2e61924 commit 4b9f177
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/vaadin-upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -222,6 +223,7 @@

/**
* Specifies if the maximum number of files have been uploaded
* @attr {boolean} max-files-reached
* @type {boolean}
*/
maxFilesReached: {
Expand Down Expand Up @@ -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: {
Expand All @@ -271,6 +274,7 @@

/**
* Specifies the 'name' property at Content-Disposition
* @attr {string} form-data-name
* @type {string}
*/
formDataName: {
Expand All @@ -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: {
Expand All @@ -290,6 +295,7 @@

/**
* Set the withCredentials flag on the request.
* @attr {boolean} with-credentials
* @type {boolean}
*/
withCredentials: {
Expand Down

0 comments on commit 4b9f177

Please sign in to comment.