Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/main/scala/org/scalajs/dom/Idb.scala
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,16 @@ class IDBCursor extends js.Object {
*/
def advance(count: Int): Unit = js.native

/**
* Sets cursor to key if specified, otherwise advances cursor by one.
*
* @note calling this method twice from the same onsuccess handler results
* in a InvalidStateError DOMException being thrown on the second call
*
* W3C
*/
def continue(key: js.Any = ???): Unit = js.native

/**
* Returns an IDBRequest object, and, in a separate thread, deletes the record at the
* cursor's position, without changing the cursor's position.
Expand Down