@vvfx/sdk 0.2.2-beta.8 → 0.2.2-beta.9
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/dist/index.js +24 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -3
- package/dist/index.mjs.map +1 -1
- package/dist/utils/page-data-utils.d.ts +4 -0
- package/package.json +1 -1
|
@@ -88,6 +88,10 @@ export declare class PageDataUtils {
|
|
|
88
88
|
* 2. 单个元素多个属性: { itemId, type, property }
|
|
89
89
|
*/
|
|
90
90
|
setItemProperty<T extends SDKItemType>(param: SetItemPropertyParam<T>): Promise<void>;
|
|
91
|
+
/**
|
|
92
|
+
* @description 设置元素extension字段
|
|
93
|
+
*/
|
|
94
|
+
setItemExtension(itemId: string, extension: Record<string, any>): void;
|
|
91
95
|
/**
|
|
92
96
|
* @description 场景 1: 设置单个元素的单个属性
|
|
93
97
|
*/
|