Pagination example


An example of the pagination in TutorCruncher socket.
<div id="pagination"></div>

<!-- If you haven't called it before -->
<script src="https://cdn.tutorcruncher.com/socket/latest/socket.js"></script>

<!-- Then -->
<script>
  socket('9c79f14df986a1ec693c', {
    router_mode: 'history',
    element: '#pagination',
    pagination: 5
  });
</script>