QR Code
A QR code generator component that creates scannable codes from input values. Features high error correction level for optimal scanning reliability, automatic type number adjustment based on content, and responsive display. Ideal for generating shareable links, contact information, or any text-based data in QR format.
Extends: fieldComponent
Fields
Name | Code | Data Type | Description |
|---|---|---|---|
Label |
| multi-locale | Display label for the QR code field |
ID |
| text | Unique identifier for the component |
Style Classes |
| text | CSS classes for styling |
Style |
| text | Custom inline styles |
Width |
| text | Controls component width |
Value |
| text | Content to be encoded in QR code |
Visible |
| boolean | Controls component visibility |
Field Style |
| text | Additional field styling options |
Methods
Name | Description |
|---|---|
| Generates QR code image from the current value using high error correction level |
| Generates unique identifier for the QR code image element |
| Processes incoming value changes and triggers QR code generation |
| Formats value for QR code generation |
Events
Name | Description |
|---|---|
| Triggered when the QR code content or generation parameters change |
| Triggered when the QR code component loses focus |
| Triggered when the QR code component gains focus |