SlickUpload

kw.UploadConnector Class

Connects an HTML form with out of band uploads.

Members

kw.UploadConnector (Object)
Constructs and returns the UploadConnector represented by the specified settings object.

Setting Attributes

  • id (String) – The unique id for this UploadConnector.
  • uploadHandlerUrl (String) – The url used to the upload handler.
  • completeHandlerUrl (String) – The url of the upload complete handler. Used if uploadForm is null.
  • uploadForm (element) – The form to POST for upload completion. Used if completeHandlerUrl is null. This can be either the actual DOM element object, or its id.
  • autoUploadOnSubmit (Boolean) – Specifies whether to automatically start uploading when the form specified in uploadForm is submitted.
  • autoCompleteAfterLastFile (Boolean) – Specifies whether to automatically complete the upload after the last file has been uploaded.
  • confirmNavigateDuringUploadMessage (String) – A message to display if the user attempts to navigate or close the browser during an upload.
  • uploadProfile (String) – The name of the upload profile to use, or null to use the default upload profile.
  • onBeforeSessionStart (Function) – A function to connect to the BeforeSessionStart event.
  • onUploadSessionStarted (Function) – A function to connect to the UploadSessionStarted event.
  • onUploadFileStarted (Function) – A function to connect to the UploadFileStarted event.
  • onUploadFileEnded (Function) – A function to connect to the UploadFileEnded event.
  • onBeforeSessionEnd (Function) – A function to connect to the BeforeSessionEnd event.
  • onUploadSessionEnded (Function) – A function to connect to the UploadSessionEnded event.
  • onUploadSessionProgress (Function) – A function to connect to the UploadSessionProgress event.
cancel()
Cancels the upload currently in process.
complete()
Completes the upload currently in process.
start()
Starts the upload process.