Generated wrapper for the Web Awesome wa-qr-code component.
Generated from Web Awesome metadata.
Usage
wa_qr_code(
...,
id = NULL,
class = NULL,
style = NULL,
value = NULL,
label = NULL,
background = NULL,
dir = NULL,
error_correction = NULL,
fill = NULL,
lang = NULL,
radius = NULL,
size = NULL
)Arguments
- ...
Child content for the component's default slot.
- id
Optional DOM id attribute for HTML, CSS, and JS targeting.
- class
Optional CSS class string.
- style
Optional inline CSS style string.
- value
String. Default:
"". The QR code's value.- label
String. Default:
"". The label for assistive devices to announce. If unspecified, the value will be used instead.- background
String. Default:
"". The background color. This can be any valid CSS color ortransparent. It cannot be a CSS custom property.- dir
String. Optional Web Awesome attribute.
- error_correction
Enumerated string. Allowed values:
H,L,M,Q. Default:H. The level of error correction to use. Learn more- fill
String. Default:
"". The fill color. This can be any valid CSS color, but not a CSS custom property.- lang
String. Optional Web Awesome attribute.
- radius
Number. Default:
0. The edge radius of each module. Must be between 0 and 0.5.- size
Number. Default:
128. The size of the QR code, in pixels.