Name |
Desciption |
Accept | Set which file types should be accepted by the fileupload. |
Custom Accept | Enter a custom string for accepted file types as a comma separated list of mime types. |
Device | Sets the type of device that will be used to upload files. |
Disabled | The widget cannot be used. |
Drag & Drop | Upload files by dropping them on the widget. |
fixedRatio | N/A |
Hidden | Hides the widget from the user. |
Hide Preview | Hides the preview image. |
Images Per Row | The number of images displayed per row in the widget. |
List Type | The type of list displayed by the widget. |
Max Filesize | Sets the maximum allowed filesize in kilobytes. Not setting this means there is no limit. |
Quality | Sets the compression value. |
Ratio | The ratio of the files captured. |
Tab Index | The Tab Index is an integer that tells the order of the widget when using the tab-key to move from one widget to another. |
Upload File(s) Automatically | Boolean value. If set to true, the uploaded file is visible on the application. If false, the file is not visible, even though it has been uploaded. |
Name |
Desciption |
Background-color | Change background color of the widget. |
Border color | Add the color for the border. |
Border radius | Add curves to the borders of the widget. |
Border style | The style of the border whether it is solid, dotted or dashed. |
Border width | Define the border width in pixels for the widget. |
Color | Color of the text inside the widgets. May not apply to all text inside all widgets. |
Font Size | Set the font size in pixels for text. |
Right left margin | Generate space in the left and right area of the widget. |
Text-alignment | Set left, centered or right. Applies both to icon and text. |
Top bottom margin | Generate space in the top and bottom area of the widget. |
clear
(
)
Clears the widget
Returns the document record currently occupying the widget.
Returns
The document record occupying the widget.
Returns the document records currently held by the widget.
Returns
The document records held by the widget.
getRawFiles
(
)
Gets the raw selected files
readFile
(
)
Read the contents of a file present in the widget
setQuality
(
)
Sets the Image Quality
blur
(
)
Triggers the blur event.
focus
(
)
Triggers the focus event.
Gets the value of the specified property.
Parameters
Name |
Type |
Description |
name |
String
|
The name of the property. |
Returns
The property's value.
getId
(
)
→{ ID }
Returns the ID of the widget.
Returns
The ID of the widget
Returns the widget's value.
Returns
The widget's value.
hide
(
)
Hides the widget.
Returns true if the widget is enabled.
Returns
True if enabled, otherwise false.
Returns true if the widget is hidden.
Returns
True if hidden, otherwise false.
Sets the value of the specified property.
Parameters
Name |
Type |
Description |
name |
String
|
The name of the property. |
value |
Object
|
The new value. |
setEnabled
(
Enabled: Boolean
)
Enables/disables the widget.
Parameters
Name |
Type |
Description |
Enabled |
Boolean
|
True to enable the widget, false to disable. |
setStyle
(
Object: Object
)
Set the widget-style
Parameters
Name |
Type |
Description |
Object |
Object
|
properties |
setValue
(
value: Object
)
Sets the widget's value.
Parameters
Name |
Type |
Description |
value |
Object
|
The new value. |
show
(
)
Shows the widget.