new FileInput()
Extends
- XV.Input
Methods
-
setValue()
-
Generally we don't want to set the value of the widget, because setting the value of a file input with the binary data will just throw a security exception. But this function is also used as an essential part of selecting a file. In that circumstance the value is the filename and the options has no silent attribute, which is what's used to differentiate the appropriate times to suppress the setting of the value.
-
valueChange()
-
Turns the payload of the bubbled event into the file instead of the filename using HTML5.