@hyext/types-ext-sdk-hy 4.2.4 → 4.2.5-beta.2
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/index.d.ts +16 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -10670,6 +10670,12 @@ namespace ui {
|
|
|
10670
10670
|
* @returns 调用结果
|
|
10671
10671
|
*/
|
|
10672
10672
|
function offApplysPubScreenOffsetNotice(): Promise<void>;
|
|
10673
|
+
/**
|
|
10674
|
+
* 打开图片查看器
|
|
10675
|
+
* @param [params] - 调用参数
|
|
10676
|
+
* @returns 调用结果
|
|
10677
|
+
*/
|
|
10678
|
+
function openImageBrowser(params?: OpenImageBrowserReq): Promise<void>;
|
|
10673
10679
|
}
|
|
10674
10680
|
|
|
10675
10681
|
/**
|
|
@@ -11182,6 +11188,16 @@ type OnApplysPubScreenOffsetNoticeReq = {
|
|
|
11182
11188
|
callback: ApplysPubScreenOffsetCallback;
|
|
11183
11189
|
};
|
|
11184
11190
|
|
|
11191
|
+
/**
|
|
11192
|
+
* 打开图片查看器参数
|
|
11193
|
+
* @property imageUrls - 图片链接数组(HTTP/HTTPS URL)
|
|
11194
|
+
* @property index - 当前打开的是第几张图片
|
|
11195
|
+
*/
|
|
11196
|
+
type OpenImageBrowserReq = {
|
|
11197
|
+
imageUrls: string[];
|
|
11198
|
+
index: number;
|
|
11199
|
+
};
|
|
11200
|
+
|
|
11185
11201
|
/**
|
|
11186
11202
|
* HY vidoe
|
|
11187
11203
|
*/
|
package/package.json
CHANGED