1
1
mirror of https://github.com/bumi/lntip synced 2026-02-14 13:17:49 +00:00
It should be easy to integrate into any webpage. We do this with a
little JS snippet, so no need for rendering HTML templates etc.
This commit is contained in:
2019-01-07 16:52:38 +01:00
parent bfa5219b02
commit 08d0eee00c
6 changed files with 26 additions and 83 deletions

12
examples/tipping.html Normal file
View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<script src="http://localhost:1323/static/lntip.js" lntip-host="http://localhost:1323"></script>
<a href="#" onclick="javascript:new LnTip(1000, 'thanks');return false;">Tip me</a>
</body>
</html>