QR SCANNER
Read a QR code, when detecting you have the option to close the camera or not through the input parameter: CloseOnDetection
By default it is in English, but you can pass the translation by parameter when using.
Returns a string through an event on the screen.
QR CREATE
Required the text to generate in QR as input, the other values are optional.
Required: text
The available options and their default values are:
{
// render method: 'canvas', 'image' or 'svg'
render: 'image',
// render pixel-perfect lines
crisp: true,
// minimum version: 1..40
minVersion: 1,
// error correction level: 'L', 'M', 'Q' or 'H'
ecLevel: 'L',
// size in pixel
size: 200,
// pixel-ratio, null for devicePixelRatio
ratio: null,
// code color
fill: '#333',
// background color
back: '#fff',
// content
text: 'no text',
// roundend corners in pc: 0..100
rounded: 0,