svelte-qrcode-image
Advanced tools
Comparing version 0.2.1 to 0.3.0
{ | ||
"name": "svelte-qrcode-image", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"devDependencies": { | ||
@@ -5,0 +5,0 @@ "@sveltejs/adapter-auto": "next", |
@@ -5,2 +5,6 @@ import { SvelteComponentTyped } from "svelte"; | ||
text?: string | undefined; | ||
displayWidth?: number | undefined; | ||
displayHeight?: number | undefined; | ||
displayStyle?: string | undefined; | ||
imgAlt?: string | undefined; | ||
margin: number | undefined; | ||
@@ -7,0 +11,0 @@ scale: number | undefined; |
# Svelte-QRCode-Image | ||
**Under development, please come back later** | ||
**Under development, breaking change could occur before 1.0.0** | ||
QR-Code generated using [qrcode](https://www.npmjs.com/package/qrcode) ([node-qrcode](https://github.com/soldair/node-qrcode)) and display via `<img>` element, with TypeScript support. | ||
QR-Code generated using [qrcode](https://www.npmjs.com/package/qrcode) ([node-qrcode](https://github.com/soldair/node-qrcode)) | ||
and display via `<img>` element, with TypeScript support, works on SvelteKit. | ||
## TODO | ||
- [ ] Documentation | ||
- [ ] Expose more options | ||
- [x] Expose options to control the `<img>` tag | ||
- [x] Reactivity on text change | ||
- [ ] Display the QR-Code as background image or canvas | ||
- [x] Website for demo | ||
## Developing | ||
@@ -53,9 +63,1 @@ | ||
Which will npt create the `public` directory, which is needed for the website to work. | ||
## TODO | ||
- [ ] Documentation | ||
- [ ] Expose more options | ||
- [x] Reactivity | ||
- [ ] Display the QR-Code as background image or canvas | ||
- [ ] Website for demo |
Sorry, the diff of this file is not supported yet
4644
28
63