playbook/docs/tsl/reference/catalog/client.md

39 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 客户端函数
文档类型:函数事实页
是否可直接用于生成代码:是;本页函数条目均包含参数表
遇到不确定时:回到 [../index.md](../index.md)、[../../syntax/index.md](../../syntax/index.md)
这一页描述客户端交互、界面控制与前端协作能力。生成函数调用时,只按函数条目中的参数表传参。
## 模块范围
- 说明:客户端交互、界面控制与前端协作能力
- 函数事实数2
## 客户端行为控制函数
### `tsExpert_ClientConfig()`
用途:客户端行为控制函数相关函数。
参数个数0
返回值:处理结果
| 参数位置 | 参数名 | 必填 | 接收类型 | 说明 |
| -------- | ------ | ---- | -------- | ---- |
## 直接函数
### `sendRunningData(data[, window_name])`
用途:直接函数相关函数。
参数个数1 到 2
返回值:处理结果
| 参数位置 | 参数名 | 必填 | 接收类型 | 说明 |
| -------- | ------------- | ---- | -------- | -------------------------------- |
| 1 | `data` | 是 | 任意值 | 要发送到运行结果窗口的数据 |
| 2 | `window_name` | 否 | 字符串 | 结果窗口名称;省略时在原窗口输出 |