You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SAP Fiori Client will be soon deprecated and it used to offer a Barcode scanner widget.
To deprecate the SAP Fiori Client we first need to provide the B
Solution
Barcode Scanner as a web component - a thin layer around the third-party ZXing library.
// open scanner from arbitrary elementbtn.addEventListener("click",()=>{scanner.open();});// react on scan-successscanner.addEventListener("scan-success",(e)=>{constresult=e.detail.result;scanner.close();});// react on scan-errorscanner.addEventListener("scan-error",(e)=>{scanner.close();});
The text was updated successfully, but these errors were encountered:
Background
The SAP Fiori Client will be soon deprecated and it used to offer a Barcode scanner widget.
To deprecate the SAP Fiori Client we first need to provide the B
Solution
Barcode Scanner as a web component - a thin layer around the third-party ZXing library.
API
Methods
Events
Usage
The text was updated successfully, but these errors were encountered: