ember-simple-qrcode

0.1.0 • Public • Published

ember-simple-qrcode

A simple QR code component & npm's qrcode package shim.

This addon is a thin wrapper around node-qrcode library.

Installation

Run ember install ember-simple-qrcode.

Usage

Component

{{qr-code content='Hello!'}}
{{qr-code content=false onError=myAwesomeErrorHandler}} {{!-- onError hook will be called in case an error occurs --}}
{{qr-code}} {{!-- no-op --}}

ES module

In case you want to use the library directly, just import it:

import QRCode from 'qrcode';

License

This project is licensed under the MIT License.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.01latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.01

Package Sidebar

Install

npm i ember-simple-qrcode

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • obscvre