Files
ladybird/Libraries/LibWeb/IndexedDB/IDBCursor.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

21 lines
653 B
Plaintext

[Exposed=(Window,Worker)]
interface IDBCursor {
[ImplementedAs=source_handle] readonly attribute (IDBObjectStore or IDBIndex) source;
readonly attribute IDBCursorDirection direction;
readonly attribute any key;
readonly attribute any primaryKey;
[SameObject] readonly attribute IDBRequest request;
undefined advance([EnforceRange] unsigned long count);
undefined continue(optional any key);
undefined continuePrimaryKey(any key, any primaryKey);
[NewObject] IDBRequest update(any value);
[NewObject] IDBRequest delete();
};
enum IDBCursorDirection {
"next",
"nextunique",
"prev",
"prevunique"
};