1.1.0 • Published 10 months ago

@kiliannnnn/qrify v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

QRify

A simple qr-code generator that comes as a custom HTML component

Do not use versions before 1.1

Attributes

  • string (required) : The string to traduce
  • dot-color (optionnal) : Any format handled by HTML such as 'black' or '#000' : default to black
  • corner-color (optionnal) : Any format handled by HTML such as 'black' or '#000' : default to black
  • canvasClass (optionnal) : give class to the canvas element generated
  • canvasStyle (optionnal) : give style to the canvas element generated

Usage

  1. Import the script
import '@kiliannnnn/qrify';
  1. Use the new tag
<qr-code string="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley" dot-color="#999" corner-color="#999" canvasClass="round-lg" canvasStyle="padding: 10px;"></qr-code>

Do not hesitate to report any issue

QRify repo

1.1.0

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago