NOTE: this package is not compatible with Elm 0.19.1
QR Code encoder and renderer.
Transform a string into a result Error or svg element.
qrCode : Html msg qrCode = let resultQRCode = toSvg "Hello world" in case resultQRCode of Result.Ok view -> view Result.Err err -> Html.text (toString err)
Tip: You can determine the size of the generated svg setting width and height styles.
width
height
Transform a string into a result Error or svg element.
Tip: You can determine the size of the generated svg setting
widthandheightstyles.