File upload

(part of package 'Servoy Extra Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent

servoyextra-fileupload

This is a reference page; many components have detailed usage guides here.

Properties

accept

Html accept attribute - defines accepted files to be uploaded. Default is all files.

Type: String Default Value: "*/*"


dataProviderID

Type: Dataprovider


displaysTags

Type: Boolean


enabled

Type: Enabled Default Value: true


iconStyleClass

Type: Styleclass Default Value: "fa fa-upload fa-3x"


location

Type: Point


multiFileUpload

Type: Boolean Default Value: false


resultDisplayTimeout

Delay before displaying the upload result - in milliseconds

Type: Number Default Value: 2000


showFileName

Type: Boolean Default Value: true


showProgress

Type: Boolean Default Value: true


styleClass

Type: Styleclass


styleClassExpression

Type: Dataprovider


successIconStyleClass

Type: Styleclass Default Value: "fa fa-check fa-3x"


toolTipText

Type: String


uploadCancelText

Type: String Default Value: "Upload canceled"


uploadNotSupportedFileText

Type: String Default Value: "File type is not supported for upload"


uploadNotSupportedText

Type: String Default Value: "File Drag/Drop is not supported for this browser"


uploadProgressText

Type: String Default Value: "Uploading click to cancel"


uploadSuccessText

Type: String Default Value: "Successfully uploaded"


uploadText

Type: String Default Value: "Drop a file here or click to upload"


visible

Type: Visible


Events

onDataChangeMethodID(oldValue,newValue,event)

@return {boolean}

Parameters:

Returns: {Boolean}


onFileTransferFinishedMethodID(event)

Parameters:


onFileUploadedMethodID(jsUpload)

Parameters:


API


Last updated

Was this helpful?