From 4162751f4f9c268fbff44582157f0caba38cfd9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merve=20=C3=96z=C3=A7if=C3=A7i?= Date: Tue, 2 Apr 2019 14:44:58 +0300 Subject: [PATCH] FileUpload doc added --- src/components/fileupload/FileUpload.vue | 8 +- src/views/fileupload/FileUploadDemo.vue | 7 + src/views/fileupload/FileUploadDoc.vue | 290 +++++++++++++++++++++++ 3 files changed, 301 insertions(+), 4 deletions(-) create mode 100644 src/views/fileupload/FileUploadDoc.vue diff --git a/src/components/fileupload/FileUpload.vue b/src/components/fileupload/FileUpload.vue index a085909cb..d916982b1 100644 --- a/src/components/fileupload/FileUpload.vue +++ b/src/components/fileupload/FileUpload.vue @@ -53,6 +53,10 @@ export default { type: String, default: 'advanced' }, + multiple: { + type: Boolean, + default: false + }, accept: { type: String, default: null @@ -69,10 +73,6 @@ export default { type: Number, default: null }, - multiple: { - type: Boolean, - default: false - }, invalidFileSizeMessage: { type: String, default: '{0}: Invalid file size, file size should be smaller than {1}.' diff --git a/src/views/fileupload/FileUploadDemo.vue b/src/views/fileupload/FileUploadDemo.vue index 045b93ba4..908b3dc17 100644 --- a/src/views/fileupload/FileUploadDemo.vue +++ b/src/views/fileupload/FileUploadDemo.vue @@ -17,15 +17,22 @@

Basic with Auto

+ + \ No newline at end of file diff --git a/src/views/fileupload/FileUploadDoc.vue b/src/views/fileupload/FileUploadDoc.vue new file mode 100644 index 000000000..b4e56aca7 --- /dev/null +++ b/src/views/fileupload/FileUploadDoc.vue @@ -0,0 +1,290 @@ + \ No newline at end of file