UNPKG

gun

Version:

A realtime, decentralized, offline-first, graph data synchronization engine.

31 lines (26 loc) 860 B
<html> <head> <title>Infinite scroll example</title> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0"> <link rel="stylesheet" type="text/css" href="./style.css"> <script src="/jquery.js"></script> <script src="/gun.js"></script> <script src="./ScrollWindow.js"></script> </head> <body> <header> <form id="generate"> <input type="text" id="number" placeholder="Number of posts"/> <button>Generate</button> </form> <div id="top-buttons"> <button id="top">Top</button> </div> </header> <div id="top-sentinel" style="padding-top: 0px;"></div> <div id="container"></div> <div id="bottom-sentinel" style="padding-top: 0px;"></div> <button id="bottom">Bottom</button> <script src="./index.js"></script> </body> </html>