QRCode
Container properties
All component configurations support Container properties at the first level.
Component properties
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| className | string | ✔️ | component's className | |
| style | object | component style | ||
| text | string | text information converted to QR code | ||
| type | 'text' | 'internalUrl' | Type of QR code | ||
| title | string | QR code title | ||
| description | string | QR code description information | ||
| width | number | width of QR code | ||
| height | number | height of QR code | ||
| QRProps | { margin: number, width: number } |
All the remaining componentsProps will be passed to the component root element (canvas).
JS API
The interface obtained through formApi.getFieldApi() is as follows:
| Name | Type | Description |
|---|---|---|
| node | HTML Element | Component root DOM element |