ms-types 0.1.18 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/types/global.d.ts
CHANGED
package/types/node.d.ts
CHANGED
|
@@ -156,6 +156,15 @@ declare class NodeSelector {
|
|
|
156
156
|
* @returns 节点信息
|
|
157
157
|
*/
|
|
158
158
|
getOneNodeInfo(timeout?: number): NodeInfo | null;
|
|
159
|
+
/**
|
|
160
|
+
* 加载节点数据
|
|
161
|
+
* @param timeout 超时时间,单位毫秒 默认为 5000 毫秒
|
|
162
|
+
*/
|
|
163
|
+
loadNode(timeout?: number): NodeSelector;
|
|
164
|
+
/**
|
|
165
|
+
* 清除所有选择条件
|
|
166
|
+
*/
|
|
167
|
+
clearSelector(): NodeSelector;
|
|
159
168
|
/**
|
|
160
169
|
* 获取节点xpath
|
|
161
170
|
* @param path xpath路径
|
|
@@ -157,6 +157,15 @@ declare class $节点选择器 {
|
|
|
157
157
|
* @returns 节点信息
|
|
158
158
|
*/
|
|
159
159
|
获取一个节点(超时时间?: 数字): $节点信息 | null;
|
|
160
|
+
/**
|
|
161
|
+
* 加载节点数据
|
|
162
|
+
* @param 超时时间,单位毫秒 默认为 5000 毫秒
|
|
163
|
+
*/
|
|
164
|
+
加载节点数据(超时时间?: 数字): $节点选择器;
|
|
165
|
+
/**
|
|
166
|
+
* 清除所有选择条件
|
|
167
|
+
*/
|
|
168
|
+
清除所有选择条件(): $节点选择器;
|
|
160
169
|
/**
|
|
161
170
|
* 获取节点xpath
|
|
162
171
|
* @param xpath 节点xpath路径
|