Skip to content

Commit e896247

Browse files
authored
Update barcodes.md
1 parent 8e44778 commit e896247

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/development/barcodes.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Since UI5 version 1.102, the `sap.ndc.BarcodeScannerButton` control is part of the UI5 library, making barcode scanning simple and straightforward.
44

5+
#### Scanner Button
6+
57
The barcode scanner control can be used like any other UI5 control with abap2UI5. Below is a snippet demonstrating the basic functionality. You can add your custom barcode handling after the scanning event is triggered:
68

79
```abap
@@ -35,4 +37,7 @@ Check out `z2ui5_cl_demo_app_124` to see barcode scanning in action. If you also
3537

3638
::: tip **UI5 Versions**
3739
Please note that this feature is only available when bootstrapping with the UI5 version and does not work with OpenUI5.
38-
:::
40+
:::
41+
42+
#### Device
43+
Most scanner devices have an integrated scanning function. In such cases, you can simply create an input field and ensure the focus is correctly set. The scanned data will populate the input field as if it were typed via a keyboard.

0 commit comments

Comments
 (0)