Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
<script src="https://www.gstatic.com/firebasejs/4.8.1/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.8.1/firebase-firestore.js"></script>
  <title>Firestore virtual scroll</title>
</head>
<body>
  <ol>
    <li>This shows an anchor document, based on its "index" field.
      <ul id="anchor"></ul>
    <li>This is the next page of documents.
      <ul id="down"></ul>
    <li>This is the previous page of documents. 
      <ul id="up"></ul>
    <li>This is what I'd like to do, based on RTDB
      <ul id="test"></ul>
  </ol>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
pufpro
0viewers