KoolUploader Class [Javascript]

Summary

Properties Description
id Get the id of kooluploader
Methods Description
getItems Get all uploaded items in list
getItem Get a specific uploaded item.
uploadAll Upload all items in list.
clearAll Clear all items in list.
registerEvent Register event for KoolUploader.

Properties Detail

idTop

string  id

Get the id of kooluploader

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

getItemsTop

array getItems()

Get all uploaded items in list

Show/Hide Code

Supported from version: 1.0.0.0

getItemTop

array getItem(string  id)

Get a specific uploaded item.

Show/Hide Code

Supported from version: 1.2.0.1

uploadAllTop

void uploadAll()

Upload all items in list.

Show/Hide Code

Supported from version: 1.2.0.1

clearAllTop

void clearAll()

Clear all items in list.

Show/Hide Code

Supported from version: 1.2.0.1

registerEventTop

void registerEvent(string eventName, function handleEvent)

Register event for KoolUploader.
Allowed eventName:

"OnBeforeAddItem"
"OnBeforeUpload"
"OnBeforeRemove"
"OnBeforeCancel"
"OnBeforeClearAll"
"OnBeforeUploadAll"
"OnBeforeUpdateProgress"
"OnAddItem"
"OnUpload"
"OnRemove"
"OnCancel"
"OnClearAll"
"OnUploadAll"
"OnUpdateProgress"
"OnUploadDone"
"OnError"

Show/Hide Code

Supported from version: 1.0.0.0