Skip to content

feat: Improvements to indexeddb-examples #303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions indexeddb-examples/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# indexeddb-examples

Code examples that accompany the MDN IndexedDB documentation – https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API

The "idbcursor" directory contains a very simple IndexedDB example to demonstrate the usage of IDBCursor. See [https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor) for relevant reference pages. [View the example live](http://mdn.github.io/dom-examples/indexeddb-examples/idbcursor/).
Expand Down
19 changes: 10 additions & 9 deletions indexeddb-examples/idbcursor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@
</head>
<body>
<h1>Basic IDBCursor example — Rush studio albums 74-85</h1>
<div id="container">
<button class="continue">Display all results</button>
<button class="advance">Show every other result</button>
<button class="delete">
Kill Grace under pressure (it's not that great)
</button>
<button class="update">Update "A farewell.." year</button>
<button class="direction">Display albums upside down</button>
</div>

<ul></ul>

<button class="continue">Display all results</button>
<button class="advance">Show every other result</button>
<button class="delete">
Kill Grace under pressure (it's not that great)
</button>
<button class="update">Update "A farewell.." year</button>
<button class="direction">Display albums upsidedown</button>

<script src="scripts/main.js"></script>
<script src="./scripts/main.js"></script>
</body>
</html>
Loading