@dcloudio/uni-app-x 0.6.5 → 0.6.7

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.6.5",
3
+ "version": "0.6.7",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "author": "DCloud",
@@ -122,7 +122,7 @@ export interface Element {
122
122
  * 只读属性 元素的布局宽度,宽度包含border、padding的数据值 单位px
123
123
  */
124
124
  offsetWidth: number
125
-
125
+
126
126
  /**
127
127
  * 只读属性 元素的布局高度,高度包含border、padding的数据值 单位px
128
128
  */
@@ -34,4 +34,9 @@ export interface IDocument extends Element {
34
34
  * @param {string.cssSelectorString}selector CSS 选择器字符串
35
35
  */
36
36
  querySelectorAll(selector: string.cssSelectorString): Element[] | null
37
+
38
+ /**
39
+ * 页面排版完毕回调callback
40
+ */
41
+ waitNativeRender(callback: () => void): void
37
42
  }