QR Code encoding and rendering. Demo.
import QRCode
qrCodeView : String -> Html msg
qrCodeView message =
QRCode.encode message
|> Result.map QRCode.toSvg
|> Result.withDefault
(Html.text "Error while encoding to QRCode.")If you would like more functionalities, please open an issue on github.
QRCode.toCanvasQRCode.encode;QRCode.encodeWithECLevel;QRCode.toString;QRCode.toSvg;QRCode.Error.Error;QRCode.toSvgWithECLevel;toSvgWithECLevel;ECLevel;Thank you Carolyn Eby, for creating this great tutorial on how QR Code works.
Thank you Evan for bringing joy to the frontend.