1
1
mirror of https://github.com/bumi/lntip synced 2025-06-17 10:15:35 +00:00
lntip/examples/tipping.html
Michael Bumann 08d0eee00c API only
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.
2019-01-07 16:52:38 +01:00

13 lines
300 B
HTML

<!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>