Scanner
A scanner to capture barcodes using a connected camera or webcam. It supports skipping duplicates and confirmations for continuous scanning.
Properties
Available properties for Scanner. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.
Whether the scanner automatically closes after a successful scan.
A list of values scanned by the barcode.
Whether to ignore duplicate values when capturing multiple barcodes.
The text to display in the button to begin scanning.
Whether to continue scanning without confirmation.
Events
Events are triggered by user interactions with Scanner. Use event handling to trigger queries or other actions in response to events.
A user scans a barcode.
A user opens the component.
A user closes the component.
Methods
Methods for interacting with Scanner. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.
Scrolls the canvas or parent container so that the selected component appears in the visible area.
Clear the current value of data
.