Type | Description | |
label | String |
Text that appears on button. |
name | String |
Name of upload button. When use a control for request to server, this property is parameter's name. |
valid | Boolean |
If valid is true, check the validity of upload file. |
validSize | Number |
Maximum allowed size for uploaded files. Default is ‘0’, which means infinite size. |
validType | String[] |
Type of file for upload. |
value | File |
Value of a upload control. |
Return type | Description | |
reset() | None |
Use the reset() method to reset all state and value to default. |
Description | ||
change |
The event fires when the value of an element has been changed. |
Name of upload button. When use a control for request to server, this property is parameter's name.
Maximum allowed size for uploaded files. Default is ‘0’, which means infinite size.
Default value: 0
Use the reset() method to reset all state and value to default.
The event fires when the value of an element has been changed.
<Object>
evt
|
-javascript event object |