about summary refs log tree commit diff stats
path: root/doc/api.md
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-08-10 14:01:25 +0200
committerbptato <nincsnevem662@gmail.com>2024-08-10 14:01:25 +0200
commitfd31a6691e8553bc782c31d695af1d6ee4811c41 (patch)
treed7bf27c61761d4a3fd7ad400f664aac60b0919e7 /doc/api.md
parenteb69b5fec4b6d75e8b5d2a54d3a342d8c7a4f595 (diff)
downloadchawan-fd31a6691e8553bc782c31d695af1d6ee4811c41.tar.gz
Update docs
Diffstat (limited to 'doc/api.md')
-rw-r--r--doc/api.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api.md b/doc/api.md
index 0480e901..004b52af 100644
--- a/doc/api.md
+++ b/doc/api.md
@@ -120,6 +120,16 @@ Use this for loading automatically retrieved (i.e. non-user-provided) URLs.</td>
 </tr>
 
 <tr>
+<td>`nextBuffer()`, `prevBuffer()`, `nextSiblingBufer()`, `prevSiblingBuffer()`,
+`parentBuffer()`</td>
+<td>Traverse the buffer tree.<br>
+`nextBuffer()`, `prevBuffer()` do a depth-first traversal;
+``nextSiblingBufer()`, `prevSiblingBuffer()` cycle through siblings, and
+`parentBuffer()` returns to the parent.
+</td>
+</tr>
+
+<tr>
 <td>`dupeBuffer()`</td>
 <td>Duplicate the current buffer by loading its source to a new buffer.</td>
 </tr>