@svelte-put/qr
2.1.1 • Public • PublishedThis package is part of the@svelte-put family. For contributing guideline and more, refer to itsreadme.
See the dedicated documentation page here.
Given one of the following usage
<script>// as imgimport{qrasimgQR}from'@svelte-put/qr/img';importImgQRfrom'@svelte-put/qr/img/QR.svelte';// as svgimport{qrassvgQR}from'@svelte-put/qr/svg';importSvgQRfrom'@svelte-put/qr/svg/QR.svelte';constdata='https://svelte-put.vnphanquang.com/docs/qr';constlogo='https://svelte-put.vnphanquang.com/images/svelte-put-logo.svg';</script><!-- svg using component --><SvgQR{data}{logo}/><!-- svg using action --><svguse:svgQR="{{"data,logo}}/><!-- img using component --><ImgQR{data}{logo}/><!-- img using action --><imguse:imgQR="{{"data,logo}}/>
The rendered QR will be similar to this:
Provenance
Share feedback
Package Sidebar
Install
npm i @svelte-put/qr
Repository
Weekly Downloads
5,935
Version
2.1.1
License
MIT
Unpacked Size
30.8 kB
Total Files
21