docs: clarify typed example callbacks and delegation contracts

This commit is contained in:
2026-11-12 21:20:10 +08:00
parent c3e7d01c09
commit 40b43ac3c3
6 changed files with 9 additions and 4 deletions
+1
View File
@@ -3,6 +3,7 @@
// 把协议探测结果保存到普通业务字段,textOf 将其中一部分显示出来。
class VisualResults {
// width/height 来自测量返回值,childX/childY 来自安排返回值,color 来自新绘制命令;都不是最终 Mount 的几何快照。
// 只在 onMount 探测时覆盖这些值,未建立对所有后续协议调用的自动镜像或响应式绑定。
width: Number
height: Number
childX: Number