Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Add UI component with QR-code generation #96

Open
dpereskokov opened this issue Aug 30, 2019 · 0 comments
Open

Add UI component with QR-code generation #96

dpereskokov opened this issue Aug 30, 2019 · 0 comments
Assignees

Comments

@dpereskokov
Copy link
Contributor

dpereskokov commented Aug 30, 2019

Component should allow user to select coin from the set of coin addresses and display appropriate QR-code.

Site owner includes npm module as <script>, gets element TrustQRPay and triggers show method to show modal window.
Example usage:
<TrustQRPay id="tqr" ETH="0x32Be343B94f860124dC4fEe278FDCBD38C102D88" BTC="1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX"></TrustQRPay>

or

<TrustQRPay id="tqr" 714="0x32Be343B94f860124dC4fEe278FDCBD38C102D88" 715="1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX"></TrustQRPay>

And inside script tag:
document.getElementById("tqr").show()

@dpereskokov dpereskokov self-assigned this Aug 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant