To use this component, create a dependency to the QRCoder_IS module.
The module has two types of server actions:
Server actions in the folder Create are used to create payloads for the QR code. All Create server actions return an Object QrCodeData.
Server actions in the folder Generate take the QrCodeData object as an input parameter generate one of the following outputs (dependant on the server action you have chosen)
To create a QR Code
1. Create a Wrapper server action
2. Place one of the Create server actions in the flow
3. Place one of the Generate server actions in the flow
4. Return the result
The demo contains samples on how to use each of the server actions.
To use this component create a dependency to the QRCoder_IS module.