From fd31a6691e8553bc782c31d695af1d6ee4811c41 Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 10 Aug 2024 14:01:25 +0200 Subject: Update docs --- doc/api.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/api.md') diff --git a/doc/api.md b/doc/api.md index 0480e901..004b52af 100644 --- a/doc/api.md +++ b/doc/api.md @@ -119,6 +119,16 @@ forcefully set to that string.
Use this for loading automatically retrieved (i.e. non-user-provided) URLs. + +`nextBuffer()`, `prevBuffer()`, `nextSiblingBufer()`, `prevSiblingBuffer()`, +`parentBuffer()` +Traverse the buffer tree.
+`nextBuffer()`, `prevBuffer()` do a depth-first traversal; +``nextSiblingBufer()`, `prevSiblingBuffer()` cycle through siblings, and +`parentBuffer()` returns to the parent. + + + `dupeBuffer()` Duplicate the current buffer by loading its source to a new buffer. -- cgit 1.4.1-2-gfad0