-
Notifications
You must be signed in to change notification settings - Fork 1
/
cuba-file-field.d.ts
42 lines (36 loc) · 1.06 KB
/
cuba-file-field.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* cuba-file-field.html
*/
/// <reference path="../polymer/types/polymer.d.ts" />
/// <reference path="../cuba-app/cuba-app-aware-behavior.d.ts" />
interface CubaFileFieldElement extends Polymer.Element, CubaAppAwareBehavior {
/**
* Label to be shown on the upload button.
*/
label: string|null|undefined;
/**
* File descriptor object.
*/
fileDescriptor: object|null|undefined;
/**
* The array of files being processed, or already uploaded. Bound to the corresponding property of
* `vaadin-upload`.
* Currently only single file is supported.
*/
files: any[]|null|undefined;
_computeHeaders(): any;
_handleUploadSuccess(event: any, data: any): void;
_handleFdChange(): void;
_handleFileRemove(): void;
_handleLabelChange(): void;
_handleFileClick(event: any): any;
}
interface HTMLElementTagNameMap {
"cuba-file-field": CubaFileFieldElement;
}