docs(lib): narrate remaining stdlib modules (M2)

Add module intros and per-function purpose lines across EN/ZH libs, with
callable examples on the smaller modules; keep + params and host bodies intact.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-14 11:47:35 +08:00
1 parent 53bc3538da
commit fecaacd5be
49 files changed
+617 -21

No files matched your search

+12
View File
@@ -6,6 +6,8 @@ description: >-
import table:lib/table.mq.md
---
Readable browser effect helpers for WASM clients. Prefer GFM tables + these helpers; do not build effects with json.set chains.
## set_text
+ `sel`
+ `text`
@@ -136,6 +138,8 @@ Build unobserve effect; specs is a map or @ list with id.
## focus
+ `sel`
focus.
*> table.put in=None at="focus" value=sel*
## navigate
@@ -153,6 +157,8 @@ Build unobserve effect; specs is a map or @ list with id.
## storage
+ `spec`
storage.
*> table.put in=None at="storage" value=spec*
## interval
@@ -171,6 +177,8 @@ Build unobserve effect; specs is a map or @ list with id.
## clear_interval
+ `id`="default"
clear_interval.
**`spec` = > table.put in=None at="id" value=id**
*> table.put in=None at="clear_interval" value=spec*
@@ -214,11 +222,15 @@ Build unobserve effect; specs is a map or @ list with id.
## ws
+ `spec`
ws.
*> table.put in=None at="ws" value=spec*
## clipboard
+ `text`
clipboard.
**`spec` = > table.put in=None at="text" value=text**
*> table.put in=None at="clipboard" value=spec*