WebAPI/LogAPI: Difference between revisions

no edit summary
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 42: Line 42:
[NoInterfaceObject]
[NoInterfaceObject]
interface DOMIterator {
interface DOMIterator {
   DOMRequest next(optional unsigned short n);  // request to refresh the window of objects with the next
   DOMRequest next();  // request to refresh the window of objects with the next
   readonly attribute boolean hasMore;
   DOMRequest prev();  // request to refresh the window of objects with the prev
   attribute unsigned long position; // points always to the element that will be the first returned by the window
  DOMRequest skipTo(unsigned long chunk);
  readonly attribute boolean hasMore;
   readonly attribute unsigned long count;  // total number of objects
   readonly attribute unsigned long count;  // total number of objects
   readonly attribute any[] values;  // Contains the current window of objects
   readonly attribute any[]? values;  // Contains the current window of objects
  readonly attribute chunkSize;
};
};


Line 123: Line 125:
}
}
</pre>
</pre>
[[Category:Web APIs]]
Confirmed users
1,340

edits