Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @manufosela/qr-code with all npm packages installed. Try it out:

var qrCode = require("@manufosela/qr-code")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@manufosela/qr-code v1.0.0

Lit-Element webcomponent qr-code

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>

```html
## 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](https://www.npmjs.com/package/polymer-cli) and npm (packaged with [Node.js](https://nodejs.org)) 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](https://github.com/Polymer/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](LICENSE) file for details

## Generated

**generator-lit-element-base** - *yeoman npm package* - by [@manufosela](https://github.com/manufosela/generator-litelement-webcomponent)
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free