diff options
author | bptato <nincsnevem662@gmail.com> | 2024-08-10 14:01:25 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-08-10 14:01:25 +0200 |
commit | fd31a6691e8553bc782c31d695af1d6ee4811c41 (patch) | |
tree | d7bf27c61761d4a3fd7ad400f664aac60b0919e7 /doc/api.md | |
parent | eb69b5fec4b6d75e8b5d2a54d3a342d8c7a4f595 (diff) | |
download | chawan-fd31a6691e8553bc782c31d695af1d6ee4811c41.tar.gz |
Update docs
Diffstat (limited to 'doc/api.md')
-rw-r--r-- | doc/api.md | 10 |
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> |