__init__(value, options) {
		this.value = value;
		this.options = Object.assign({
			browser: false,
			show_hidden: false,
			enable_upload: true,
			enable_remove: true,
			enable_download: false,
			root_directory: '/etc/luci-uploads'
		}, options);
	}
In addition to the [AbstractElement.InitOptions]{@link LuCI.ui.AbstractElement.InitOptions}
the following properties are recognized:

@typedef {LuCI.ui.AbstractElement.InitOptions} InitOptions
@memberof LuCI.ui.FileUpload

@property {boolean} [browser=false]
Use a file browser mode.

@property {boolean} [show_hidden=false]
Specifies whether hidden files should be displayed when browsing remote
files. Note that this is not a security feature, hidden files are always
present in the remote file listings received, this option merely controls
whether they're displayed or not.

@property {boolean} [enable_upload=true]
Specifies whether the widget allows the user to upload files. If set to
`false`, only existing files may be selected. Note that this is not a
security feature. Whether file upload requests are accepted remotely
depends on the ACL setup for the current session. This option merely
controls whether the upload controls are rendered or not.

@property {boolean} [enable_remove=true]
Specifies whether the widget allows the user to delete remove files.
If set to `false`, existing files may not be removed. Note that this is
not a security feature. Whether file delete requests are accepted
remotely depends on the ACL setup for the current session. This option
merely controls whether the file remove controls are rendered or not.

@property {boolean} [enable_download=false]
Specifies whether the widget allows the user to download files.

@property {string} [root_directory=/etc/luci-uploads]
Specifies the remote directory the upload and file browsing actions take
place in. Browsing to directories outside the root directory is
prevented by the widget. Note that this is not a security feature.
Whether remote directories are browsable or not solely depends on the
ACL setup for the current session.