Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 894 Bytes

cuba__file.adoc

File metadata and controls

39 lines (31 loc) · 894 Bytes

Uploading Files

The cuba-file-field component allows you to to upload files to the server.

The example below is a stub and doesn’t upload any files, so you can safely test it.

Source code:

index.html
<html>
<head>
	<link rel="import" href="src/cuba/file/file-upload-app.html">
	<script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script>
</head>
<body>
    <file-upload-app></file-upload-app>
</body>
</html>
src/cuba/file/file-upload-app.html
link:../../../source/polymer-build/src/cuba/file/file-upload-app.html[role=include]