ms-types 0.0.50 → 0.0.52
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 +1 -1
- package/types/action.d.ts +5 -5
package/package.json
CHANGED
package/types/action.d.ts
CHANGED
|
@@ -184,11 +184,11 @@ declare namespace action {
|
|
|
184
184
|
): boolean;
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
|
-
* 创建
|
|
188
|
-
* @returns
|
|
189
|
-
* @example const builder = action.
|
|
187
|
+
* 创建 ActionBuilder 构建器,支持链式调用构建复杂的多点触控动作
|
|
188
|
+
* @returns ActionBuilder 实例
|
|
189
|
+
* @example const builder = action.createBuilder()
|
|
190
190
|
*/
|
|
191
|
-
function
|
|
191
|
+
function createBuilder(): ActionBuilder;
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
194
|
* ActionBuilder 构建器接口
|
|
@@ -282,7 +282,7 @@ declare namespace action {
|
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
284
|
* 完成当前指针配置,返回到主构建器
|
|
285
|
-
* @returns 返回
|
|
285
|
+
* @returns 返回 ActionBuilder,可以继续添加其他指针
|
|
286
286
|
* @example pointer.done().addPointer(2)
|
|
287
287
|
*/
|
|
288
288
|
done(): ActionBuilder;
|