The Zebra DataWedge Reader component for Retool Mobile
An interface to capture data using a Zebra DataWedge scanner
Receive data captured by a Zebra Android device with dedicated hardware and sent using the Zebra DataWedge APIs. Refer to the Retool Mobile on Zebra devices guide for instructions.
Properties
All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
buttonSize
The size of the button.
Type | string | ||||||
Mutability |
| ||||||
Allowed Values |
|
buttonText
The text label to display.
Type | string | ||||
Format | Plain Text | ||||
Mutability |
| ||||
Default |
|
Examples
data
The data.
Type | string | number | boolean | object | array | ||||||
Format | Custom data | ||||||
Mutability |
|
disabled
Whether input, interaction, selection, or triggering is disabled.
Type | boolean | ||||||
Format | True/False | ||||||
Mutability |
| ||||||
Default |
|
Examples
hidden
Whether this object is hidden from view.
Type | boolean | ||||||
Format | True/False | ||||||
Mutability |
| ||||||
Default |
|
Examples
iconAfter
The suffix icon to display.
Type | string | ||||
Format | Icon Key | ||||
Mutability |
| ||||
Default |
|
Examples
iconBefore
The prefix icon to display.
Type | string | ||||
Format | Icon Key | ||||
Mutability |
| ||||
Default |
|
Examples
Examples
Methods
JavaScript API methods for this object. You can write JavaScript almost anywhere in Retool and use methods to manipulate data and property values.
zebraDataWedge.setDisabled()
Set the disabled
value to toggle whether the input field is disabled. Defaults to true
without a parameter.
zebraDataWedge.setDisabled(disabled)
Parameters
Examples
zebraDataWedge.setHidden()
Set the hidden
value to toggle whether the component is visible. Defaults to true
without a parameter.
zebraDataWedge.setHidden(hidden)
Parameters
Examples
Events
Events triggered by user interactions. You can configure event handlers in the IDE to trigger queries or other actions in response to events.
Event | Description |
---|---|
Capture | A value is captured. |