@dcloudio/uni-app-x 0.5.1 → 0.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "author": "DCloud",
@@ -4,34 +4,34 @@
4
4
  * @package io.dcloud.uniapp.runtime
5
5
  * @autodoc false
6
6
  */
7
- interface IPage {
8
- /**
9
- * 页面id
7
+ interface IPage {
8
+ /**
9
+ * 页面id
10
10
  */
11
- pageId: string
12
- /**
13
- * document对象
11
+ pageId: string
12
+ /**
13
+ * document对象
14
14
  */
15
15
  document: IDocument
16
- /**
17
- * 显示页面
18
- * @param {Map<String, Any>} options 显示配置项
19
- * @param {() => void} callback 显示完毕监听器
16
+ /**
17
+ * 显示页面
18
+ * @param {Map<String, Any>} options 显示配置项
19
+ * @param {() => void} callback 显示完毕监听器
20
20
  */
21
21
  show(options?: any, callback?: () => void): void
22
- /**
23
- * 关闭页面
24
- * @param {Map<String, Any>} options 关闭配置项
25
- * @param {() => void} callback 关闭完毕监听器
22
+ /**
23
+ * 关闭页面
24
+ * @param {Map<String, Any>} options 关闭配置项
25
+ * @param {() => void} callback 关闭完毕监听器
26
26
  */
27
27
  close(options?: any, callback?: () => void): void
28
- /**
29
- * 开启排版渲染
30
- * @param {() => void} callback 首次排版回调监听器
28
+ /**
29
+ * 开启排版渲染
30
+ * @param {() => void} callback 首次排版回调监听器
31
31
  */
32
32
  startRender(callback?: () => void): void
33
- /**
34
- * 停止排版渲染
33
+ /**
34
+ * 停止排版渲染
35
35
  */
36
36
  stopRender(): void
37
37
 
@@ -66,4 +66,6 @@ interface IPage {
66
66
  stopPullDownRefresh(): void
67
67
 
68
68
  loadFontFace(options: LoadFontFaceOptions): void
69
+
70
+ updateStyle(style: Map<String, any | null>): void
69
71
  }