Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

QrCode

Since 0.1.0-alpha.21
Shows text, such as a link, as a QR code to scan.

IzzyBlazor.QrCode in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly and its doc comments.

Properties (6)

Valuestring requiredAdded in 0.1.0-alpha.21

The text to encode, such as a URL. Longer text makes a denser code.

Labelstring?Added in 0.1.0-alpha.21

What scanning it does, for screen readers, such as "QR code for your authenticator app".

Decorativebool = falseAdded in 0.1.0-alpha.21

Hides it from screen readers, for when the text beside it says what it is.

ErrorCorrectionQrErrorCorrection = QrErrorCorrection.MediumAdded in 0.1.0-alpha.21

How much of the code can be damaged and still scan. Defaults to QrErrorCorrection.Medium; a higher level is used when it fits in the same size.

SizeLength? (computed)Added in 0.1.0-alpha.21

The width and height, quiet zone included. Defaults to 10rem.

QuietZoneint = 4Added in 0.1.0-alpha.21

The light border around the code, in modules. Defaults to 4, which scanners expect.

Events (0)

No events.

Types (2)

Length

struct

A width, height or flex basis: a size token, a keyword, or a CSS length built with a factory such as Rem.

Length members
MemberDescription
Sm

640px (matches the sm breakpoint).

Md

768px (matches the md breakpoint).

Lg

1024px (matches the lg breakpoint).

Xl

1280px (matches the xl breakpoint).

Prose

A comfortable reading width, 68 characters.

Full

100% of the containing block.

Auto

auto.

FitContent

fit-content: as wide as the content, up to the available space.

MinContent

min-content.

MaxContent

max-content.

Px(double value)

Pixels.

Rem(double value)

Root ems (16px each by default).

Percent(double value)

Percent of the containing block.

Ch(double value)

Character widths, for text measures.

Vw(double value)

Percent of the viewport width.

Dvh(double value)

Percent of the dynamic viewport height (accounts for mobile browser bars).

Of(string css)

Any CSS length, such as calc(100% - 2rem). Checked for unsafe characters.

Css string

The CSS value this length renders as.

QrErrorCorrection

enum

How much of a QR code can be damaged and still read. Higher levels make a larger code.

QrErrorCorrection values
ValueDescription
Low

About 7% of the code can be lost.

Medium

About 15% (the default).

Quartile

About 25%.

High

About 30%.

Connection lost

Rejoining the server…