דילוג לתוכן הראשי
chessapp.dev

אוסף לרוחב הדף

A collection across the whole row: a board on one of its games, and beside it a short table of its games — the page that holds the one shown. Click a row (or press Enter on it) to put that game on the board; earlier and later page through the table.

טוען את האוסף…

The markup

<BoardRow>
  <CollectionCard _id="/library/fischer" showGame="52" />
</BoardRow>
  • _id is the collection's address, /library/<collection>.
  • showGame is the game on the board, by its number in the collection — the first when absent.
  • rows is how many games the table shows at a time (8 by default) and startMove where the first board opens — see the second view.

The card reads the collection's index for its table and its games for the board, the Library's own files, fetched once.