DropZoneConfig
new DropZoneConfig(context, options)
Parameters:
Name |
Type |
Description |
context |
|
|
options |
|
|
Members
allowFileRename
badFileNameChars
maximumFileSize
options
postProcessor
preProcessor
validFileExtensions
Methods
applyCustomFunction(fnName) → {*}
Parameters:
Name |
Type |
Description |
fnName |
|
|
Returns:
-
Type
-
*
getCustomFunction(fnName) → {*}
Parameters:
Name |
Type |
Description |
fnName |
|
|
Returns:
-
Type
-
*
isCustomFunction(fnName) → {boolean}
Parameters:
Name |
Type |
Description |
fnName |
|
|
Returns:
-
Type
-
boolean
isFileExtensionValid(fn) → {*}
Parameters:
Returns:
-
Type
-
*
isFileNameValid(fn) → {boolean}
Parameters:
Returns:
-
Type
-
boolean
isFileSizeValid(size) → {boolean}
Parameters:
Name |
Type |
Description |
size |
|
|
Returns:
-
Type
-
boolean