summaryrefslogtreecommitdiffstats
path: root/documentation/components/components-upload.asciidoc
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2016-12-19 19:31:36 +0200
committerHenri Sara <henri.sara@gmail.com>2016-12-19 19:31:36 +0200
commitd8e1ca9ad8ce76185837053a730676fa9fa18352 (patch)
tree40a0e85d909953c68bbe13c4eade04c9a4fd5860 /documentation/components/components-upload.asciidoc
parent33624758f960e9d2f0f67dadd307ae81fd427d65 (diff)
downloadvaadin-framework-d8e1ca9ad8ce76185837053a730676fa9fa18352.tar.gz
vaadin-framework-d8e1ca9ad8ce76185837053a730676fa9fa18352.zip
Fix documentation for /components (#8051)
Added warning where not updated. Removed outdated documentation. Tried to fix parts where it was feasible.
Diffstat (limited to 'documentation/components/components-upload.asciidoc')
-rw-r--r--documentation/components/components-upload.asciidoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/documentation/components/components-upload.asciidoc b/documentation/components/components-upload.asciidoc
index bb46228398..848dd9ef66 100644
--- a/documentation/components/components-upload.asciidoc
+++ b/documentation/components/components-upload.asciidoc
@@ -12,6 +12,8 @@ ifdef::web[]
image:{live-demo-image}[alt="Live Demo", link="http://demo.vaadin.com/sampler/#ui/data-input/other/upload"]
endif::web[]
+*_This section has not yet been updated to Vaadin Framework 8_*
+
The [classname]#Upload# component allows a user to upload files to the server.
It displays a file name entry box, a file selection button, and an upload submit
button. The user can either write the filename in the text area or click the
@@ -45,7 +47,7 @@ upload.setButtonCaption("Upload Now");
You can also hide the upload button with [literal]#++.v-upload .v-button
{display: none}++# in theme, have custom logic for starting the upload, and call
[methodname]#startUpload()# to start it. If the upload component has
-[methodname]#setImmediate(true)# enabled, uploading starts immediately after
+[methodname]#setImmediateMode(true)# enabled, uploading starts immediately after
choosing the file.
[[components.upload.receiving]]