QRCode Singleton

QRCode()

Methods

get(code, size) → {String}

Parameters:

Name Type Argument Default Description
code String

Message to contain in the code.

size Number optional  10

Size of the QRCode image in dots. (1 dot is 37pixels)

Returns:

Link to the QRCode image.

Example

QRCode.get("My message to be included in the QRCode", 10); //Returns a link to a image 370px by 370px