Skip to content

Commit

Permalink
Update readme with click
Browse files Browse the repository at this point in the history
  • Loading branch information
WietseWind committed Nov 9, 2022
1 parent f6b4f96 commit e6566cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ document.getElementById("somebutton").onclick = () => {
```javascript
const xumm = new XummPkce("uuid-uuid-uuid-uuid");

document.getElementById("somebutton").onclick = xumm.authorize

xumm.on("error", (error) => {
console.log("error", error);
});
Expand Down

0 comments on commit e6566cc

Please sign in to comment.