Miss any of our Open RFC calls?Watch the recordings here! »

@manufosela/qr-code

1.0.0 • Public • Published

qr-code

QR code Generator with Lit-Element web component [Demo(https://codepen.io/manufosela/pen/qBWNyOB)]

Demo

<h2>Basic qr-code Demo</h2>
<h3>Demo</h3>
<qr-code></qr-code>

<qr-code></qr-code>
 

Attributes

  • text (String) [default '']
  • showtext (Boolean) [default false]
  • typeNumber (Number) [default 4]
  • errorCorrectLevel (String) [default 'L']

Install the Polymer-CLI

First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install to install your element's dependencies, then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Build

$ npm run build

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

Author

manufosela

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details

Generated

generator-lit-element-base - yeoman npm package - by @manufosela

Install

npm i @manufosela/qr-code

DownloadsWeekly Downloads

1

Version

1.0.0

License

Apache 2.0

Unpacked Size

9.17 kB

Total Files

8

Last publish

Collaborators

  • avatar