SlickUpload

Global Objects

SlickUpload provides several global properties, enumerations and objects for configuration and feature support detection.

Properties

kw.debug (Boolean)
Specifies whether SlickUpload is in debug mode.

Default Value

  • false

Enumerations

kw.UploadErrorType (Object)
An enumeration of the possible error types generated during an upload.

Members

  • Cancelled – The client cancelled the upload.
  • None – No error.
  • Other – A generic error occured.
kw.UploadState (Object)
An enumeration of the possible states of an upload.

Members

  • Complete – The upload is complete.
  • Error – The upload has errored.
  • Initializing – The upload is still initializing and has not started yet.
  • Uploading – The upload is in process.

Objects

kw.Support (Object)
A collection of properties that provides information about features supported by the current browser.

Attributes

  • browser (String) – The name of the browser. Possible values: "msie", "mozilla", "opera", "webkit".
  • browserMinorVersion (Number) – The minor version of the browser.
  • browserVersion (Number) – The major version of the browser.
  • dragDrop (Boolean) – States whether the browser supports HTML 5 drag/drop.
  • fileInputMultiple (Boolean) – States whether the browser supports multiple file selection.
  • fileInputTabbable (Boolean) – States whether the browser supports tab selection of a file input.
  • folderSelection (Boolean) – States whether the browser supports folder selection.
  • html5Upload (Boolean) – States whether the browser supports HTML 5 file uploading through XmlHttpRequest.
  • isSkinnable (Boolean) – States whether the current can be skinned by SlickUpload.
  • isSupportedBrowser (Boolean) – States whether the browser is supported by SlickUpload.
  • mouseEnterLeave (Boolean) – States whether the browser supports mouseEnter/mouseLeave.
  • xmlHttpRequest (Boolean) – States whether the browser supports XmlHttpRequest.
  • xmlHttpRequestInSubmit (Boolean) – States whether the browser supports XmlHttpRequest while a form is being submitted.