0.0.4 • Published 10 years ago
ember-qrcode v0.0.4
Ember-qrcode
An Ember addon that draws QR codes.
Installation and usage
Install the addon with ember install ember-qrcode.
To place a QR code element (by default a canvas.qr-code), use the {{qr-code}} component.
The component has the following properties:
data: the data string to encodewidth,height: passed directly to thecanvasattributes with the same namelight,dark: the hex colours for light and dark cells respectively (#FFFFFFand#000000by default)
Example
{{qr-code data="Hello world" light="#EEEEFF" dark="#330000"}}
Licence
The MIT licence