Angular directive
pxlCodeRecognize source
- Attribute
Expression that is evaluated when a code (QR Code, Barcode etc..) is recognized by the PixLive SDK
The code value (e.g. the URL in case of a QR Code with URL) is passed as parameter.
Note: You have to enable Code recognition on the SDK for this method to be called.
Parameters
Name | Type | Description |
---|---|---|
PxlEventService | service |
PixLive SDK Event service |
Example
<div pxl-code-recognize="codeRec(codeValue)">
...
</div>