Constructor
new BarcodeScannerPanel(config)
- Since:
- v128
- Copyright:
- ParaSQL LLC 2022. All rights reserved.
- License:
Example
// usage example for a click event on a button that puts the scanned barcode
// in a search field and clicks the search button
function (event) {
new parasql.ui.BarcodeScannerPanel({
callback: function(scanStr) {
let searchField = parasql.app.getWidgetById('ID2627');
searchField.setDataValue( new parasql.schema.DataValue(scanStr) );
let searchButton = parasql.app.getWidgetById('ID2630');
searchButton.performClick();
}
}).show();
}
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
Properties
|
Extends
Methods
getContentDiv() → {HTMLElement}
- Inherited From:
Returns:
Returns this panel's content div.
- Type
- HTMLElement
hide()
Overridden to stop video capture when panel hidden.
- Description:
Overridden to stop video capture when panel hidden.
- Overrides:
show()
Displays this ModalPanel.
- Description:
Displays this ModalPanel.
- Inherited From: