@dcloudio/uni-app-x 0.7.39 → 0.7.41
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 +9 -7
- package/types/UniPage.d.ts +168 -22
- package/types/app.d.ts +178 -174
- package/types/native/CSSStyleDeclaration.d.ts +16 -2
- package/types/native/DOMRect.d.ts +430 -10
- package/types/native/DrawableContext.d.ts +1137 -45
- package/types/native/IUniElement.d.ts +1875 -93
- package/types/native/UniNativePage.d.ts +94 -0
- package/types/native/UniResizeObserver.d.ts +215 -5
- package/types/native/UniSafeArea.d.ts +185 -0
- package/types/native/UniVideoElement.d.ts +432 -0
- package/types/native/global.d.ts +7 -0
- package/types/native/index.d.ts +1 -0
- package/types/uni/uni-map-tencent-map.d.ts +12 -8
- package/types/uni/uts-plugin-api/global.d.ts +62 -61
- package/types/uni/uts-plugin-api/index.d.ts +62 -61
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -0
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +64 -63
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1150 -186
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +64 -63
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +550 -550
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +69 -72
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1508 -77
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +284 -63
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +2 -9
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +57 -57
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +312 -110
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +62 -62
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +472 -72
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +126 -78
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +317 -66
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +570 -63
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +570 -63
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +110 -66
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +595 -177
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +45 -1
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1387 -182
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +67 -67
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +162 -63
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +241 -64
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +4089 -659
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +460 -252
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2345 -213
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1205 -149
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +328 -63
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +317 -66
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +120 -71
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2157 -437
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +467 -315
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1608 -630
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2492 -504
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +176 -130
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +704 -58
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1230 -454
- package/types/uni/uts-plugin-biz/global.d.ts +6 -5
- package/types/uni/uts-plugin-biz/index.d.ts +6 -5
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -123
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +60 -47
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +71 -71
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -38
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -19
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +502 -255
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +48 -48
- package/types/uni/uts-plugin-extend/global.d.ts +0 -4
- package/types/uni/uts-plugin-extend/index.d.ts +0 -4
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4399 -339
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
- package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-app-x",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.41",
|
|
4
4
|
"description": "uni-app x types",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"main": "index.d.ts",
|
|
@@ -8,14 +8,15 @@
|
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"scripts": {
|
|
11
|
+
"build:wx:api": "node ./scripts/build-wx.js",
|
|
11
12
|
"build:types:core": "node ./scripts/build-types.js -t core",
|
|
12
|
-
"build:types:plugin:api": "node ./scripts/build-types.js -t uts-plugin-api",
|
|
13
|
-
"build:types:plugin:component": "node ./scripts/build-types.js -t uts-plugin-component",
|
|
14
|
-
"build:types:plugin:biz": "node ./scripts/build-types.js -t uts-plugin-biz",
|
|
15
|
-
"build:types:plugin": "npm run build:types:plugin:api
|
|
13
|
+
"build:types:plugin:api": "node ./scripts/build-types.js -t uts-plugin-api --incremental",
|
|
14
|
+
"build:types:plugin:component": "node ./scripts/build-types.js -t uts-plugin-component --incremental",
|
|
15
|
+
"build:types:plugin:biz": "node ./scripts/build-types.js -t uts-plugin-biz --incremental",
|
|
16
|
+
"build:types:plugin": "npm run build:types:plugin:api && npm run build:types:plugin:component && npm run build:types:plugin:biz",
|
|
16
17
|
"build:types:meta": "node ./scripts/build-meta.js",
|
|
17
18
|
"build:types:native": "node ./scripts/build-native.js",
|
|
18
|
-
"build:types": "npm run build:types:native && npm run build:types:plugin"
|
|
19
|
+
"build:types": "npm run build:types:native && npm run build:types:plugin && npm run build:wx:api"
|
|
19
20
|
},
|
|
20
21
|
"devDependencies": {
|
|
21
22
|
"delete": "^1.1.0",
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
"fs-extra": "^11.1.1",
|
|
24
25
|
"glob": "^10.3.3",
|
|
25
26
|
"minimist": "^1.2.8",
|
|
26
|
-
"
|
|
27
|
+
"miniprogram-api-typings": "^4.0.2",
|
|
28
|
+
"ts-morph": "^23.0.0"
|
|
27
29
|
}
|
|
28
30
|
}
|
package/types/UniPage.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { UniSafeArea, UniSafeAreaInsets } from './native/UniSafeArea'
|
|
2
|
+
|
|
1
3
|
export interface UniPage {
|
|
2
4
|
/**
|
|
3
5
|
* 页面的路由地址
|
|
4
|
-
* @
|
|
5
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
6
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
7
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
6
8
|
* @uniPlatform {
|
|
7
9
|
* "app": {
|
|
8
10
|
* "android": {
|
|
@@ -38,8 +40,8 @@ export interface UniPage {
|
|
|
38
40
|
route: string
|
|
39
41
|
/**
|
|
40
42
|
* 页面的路由参数信息
|
|
41
|
-
* @
|
|
42
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
43
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
44
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
43
45
|
* @uniPlatform {
|
|
44
46
|
* "app": {
|
|
45
47
|
* "android": {
|
|
@@ -75,8 +77,8 @@ export interface UniPage {
|
|
|
75
77
|
options: UTSJSONObject
|
|
76
78
|
/**
|
|
77
79
|
* UniPage vue 实例对象
|
|
78
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
79
|
-
* @
|
|
80
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
81
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
80
82
|
* @uniPlatform {
|
|
81
83
|
* "app": {
|
|
82
84
|
* "android": {
|
|
@@ -112,8 +114,8 @@ export interface UniPage {
|
|
|
112
114
|
/**
|
|
113
115
|
* UniPage vue 实例对象
|
|
114
116
|
* @deprecated 已废弃,仅为了向下兼容保留
|
|
115
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
116
|
-
* @
|
|
117
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
118
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
117
119
|
* @uniPlatform {
|
|
118
120
|
* "app": {
|
|
119
121
|
* "android": {
|
|
@@ -146,9 +148,153 @@ export interface UniPage {
|
|
|
146
148
|
* }
|
|
147
149
|
*/
|
|
148
150
|
$vm: ComponentPublicInstance | null
|
|
151
|
+
/**
|
|
152
|
+
* UniPage 窗口宽度,单位为px
|
|
153
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
154
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
155
|
+
* @uniPlatform {
|
|
156
|
+
* "app": {
|
|
157
|
+
* "android": {
|
|
158
|
+
* "osVer": "5.0",
|
|
159
|
+
* "uniVer": "x",
|
|
160
|
+
* "unixVer": "4.51"
|
|
161
|
+
* },
|
|
162
|
+
* "ios": {
|
|
163
|
+
* "osVer": "x",
|
|
164
|
+
* "uniVer": "x",
|
|
165
|
+
* "unixVer": "4.51"
|
|
166
|
+
* },
|
|
167
|
+
* "harmony": {
|
|
168
|
+
* "osVer": "x",
|
|
169
|
+
* "uniVer": "x",
|
|
170
|
+
* "unixVer": "x"
|
|
171
|
+
* }
|
|
172
|
+
* },
|
|
173
|
+
* "mp": {
|
|
174
|
+
* "weixin": {
|
|
175
|
+
* "hostVer": "√",
|
|
176
|
+
* "uniVer": "x",
|
|
177
|
+
* "unixVer": "x"
|
|
178
|
+
* },
|
|
179
|
+
* },
|
|
180
|
+
* "web": {
|
|
181
|
+
* "uniVer": "x",
|
|
182
|
+
* "unixVer": "4.51"
|
|
183
|
+
* }
|
|
184
|
+
* }
|
|
185
|
+
*/
|
|
186
|
+
innerWidth: number
|
|
187
|
+
/**
|
|
188
|
+
* UniPage 窗口高度,单位为px
|
|
189
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
190
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
191
|
+
* @uniPlatform {
|
|
192
|
+
* "app": {
|
|
193
|
+
* "android": {
|
|
194
|
+
* "osVer": "5.0",
|
|
195
|
+
* "uniVer": "x",
|
|
196
|
+
* "unixVer": "4.51"
|
|
197
|
+
* },
|
|
198
|
+
* "ios": {
|
|
199
|
+
* "osVer": "x",
|
|
200
|
+
* "uniVer": "x",
|
|
201
|
+
* "unixVer": "4.51"
|
|
202
|
+
* },
|
|
203
|
+
* "harmony": {
|
|
204
|
+
* "osVer": "x",
|
|
205
|
+
* "uniVer": "x",
|
|
206
|
+
* "unixVer": "x"
|
|
207
|
+
* }
|
|
208
|
+
* },
|
|
209
|
+
* "mp": {
|
|
210
|
+
* "weixin": {
|
|
211
|
+
* "hostVer": "√",
|
|
212
|
+
* "uniVer": "x",
|
|
213
|
+
* "unixVer": "x"
|
|
214
|
+
* },
|
|
215
|
+
* },
|
|
216
|
+
* "web": {
|
|
217
|
+
* "uniVer": "x",
|
|
218
|
+
* "unixVer": "4.51"
|
|
219
|
+
* }
|
|
220
|
+
* }
|
|
221
|
+
*/
|
|
222
|
+
innerHeight: number
|
|
223
|
+
/**
|
|
224
|
+
* UniPage 安全区域在屏幕中的位置信息
|
|
225
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
226
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
227
|
+
* @uniPlatform {
|
|
228
|
+
* "app": {
|
|
229
|
+
* "android": {
|
|
230
|
+
* "osVer": "5.0",
|
|
231
|
+
* "uniVer": "x",
|
|
232
|
+
* "unixVer": "4.51"
|
|
233
|
+
* },
|
|
234
|
+
* "ios": {
|
|
235
|
+
* "osVer": "x",
|
|
236
|
+
* "uniVer": "x",
|
|
237
|
+
* "unixVer": "4.51"
|
|
238
|
+
* },
|
|
239
|
+
* "harmony": {
|
|
240
|
+
* "osVer": "x",
|
|
241
|
+
* "uniVer": "x",
|
|
242
|
+
* "unixVer": "x"
|
|
243
|
+
* }
|
|
244
|
+
* },
|
|
245
|
+
* "mp": {
|
|
246
|
+
* "weixin": {
|
|
247
|
+
* "hostVer": "√",
|
|
248
|
+
* "uniVer": "x",
|
|
249
|
+
* "unixVer": "x"
|
|
250
|
+
* },
|
|
251
|
+
* },
|
|
252
|
+
* "web": {
|
|
253
|
+
* "uniVer": "x",
|
|
254
|
+
* "unixVer": "4.51"
|
|
255
|
+
* }
|
|
256
|
+
* }
|
|
257
|
+
*/
|
|
258
|
+
safeArea: UniSafeArea
|
|
259
|
+
/**
|
|
260
|
+
* UniPage 安全区域插入位置(与屏幕边界的距离)信息
|
|
261
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
262
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
|
|
263
|
+
* @uniPlatform {
|
|
264
|
+
* "app": {
|
|
265
|
+
* "android": {
|
|
266
|
+
* "osVer": "5.0",
|
|
267
|
+
* "uniVer": "x",
|
|
268
|
+
* "unixVer": "4.51"
|
|
269
|
+
* },
|
|
270
|
+
* "ios": {
|
|
271
|
+
* "osVer": "x",
|
|
272
|
+
* "uniVer": "x",
|
|
273
|
+
* "unixVer": "4.51"
|
|
274
|
+
* },
|
|
275
|
+
* "harmony": {
|
|
276
|
+
* "osVer": "x",
|
|
277
|
+
* "uniVer": "x",
|
|
278
|
+
* "unixVer": "x"
|
|
279
|
+
* }
|
|
280
|
+
* },
|
|
281
|
+
* "mp": {
|
|
282
|
+
* "weixin": {
|
|
283
|
+
* "hostVer": "√",
|
|
284
|
+
* "uniVer": "x",
|
|
285
|
+
* "unixVer": "x"
|
|
286
|
+
* },
|
|
287
|
+
* },
|
|
288
|
+
* "web": {
|
|
289
|
+
* "uniVer": "x",
|
|
290
|
+
* "unixVer": "4.51"
|
|
291
|
+
* }
|
|
292
|
+
* }
|
|
293
|
+
*/
|
|
294
|
+
safeAreaInsets: UniSafeAreaInsets
|
|
149
295
|
/**
|
|
150
296
|
* 获取当前页面样式。详细属性配置请参考PageStyle
|
|
151
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
297
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getpagestyle
|
|
152
298
|
* @uniPlatform {
|
|
153
299
|
* "app": {
|
|
154
300
|
* "android": {
|
|
@@ -185,7 +331,7 @@ export interface UniPage {
|
|
|
185
331
|
/**
|
|
186
332
|
* 获取当前页面样式。详细属性配置请参考PageStyle
|
|
187
333
|
* @deprecated 已废弃,仅为了向下兼容保留
|
|
188
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
334
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getpagestyle-2
|
|
189
335
|
* @uniPlatform {
|
|
190
336
|
* "app": {
|
|
191
337
|
* "android": {
|
|
@@ -220,7 +366,7 @@ export interface UniPage {
|
|
|
220
366
|
$getPageStyle(): UTSJSONObject
|
|
221
367
|
/**
|
|
222
368
|
* 设置当前页面样式。详细属性配置请参考PageStyle
|
|
223
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
369
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#setpagestyle
|
|
224
370
|
* @uniPlatform {
|
|
225
371
|
* "app": {
|
|
226
372
|
* "android": {
|
|
@@ -257,7 +403,7 @@ export interface UniPage {
|
|
|
257
403
|
/**
|
|
258
404
|
* 设置当前页面样式。详细属性配置请参考PageStyle
|
|
259
405
|
* @deprecated 已废弃,仅为了向下兼容保留
|
|
260
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
406
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#setpagestyle-2
|
|
261
407
|
* @uniPlatform {
|
|
262
408
|
* "app": {
|
|
263
409
|
* "android": {
|
|
@@ -292,7 +438,7 @@ export interface UniPage {
|
|
|
292
438
|
$setPageStyle(style: UTSJSONObject): void
|
|
293
439
|
/**
|
|
294
440
|
* 用于 dialogPage 获取所属父页面
|
|
295
|
-
* @
|
|
441
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
|
|
296
442
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
|
|
297
443
|
* @uniPlatform {
|
|
298
444
|
* "app": {
|
|
@@ -329,7 +475,7 @@ export interface UniPage {
|
|
|
329
475
|
getParentPage(): UniPage | null
|
|
330
476
|
/**
|
|
331
477
|
* 获取当前页面的 dialog 子页面集合
|
|
332
|
-
* @
|
|
478
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
|
|
333
479
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
|
|
334
480
|
* @uniPlatform {
|
|
335
481
|
* "app": {
|
|
@@ -369,8 +515,8 @@ export interface UniPage {
|
|
|
369
515
|
* 如果需要获取指定的节点类型,需要使用 as 进行类型转换。\
|
|
370
516
|
* ID 区分大小写,且应该是唯一的。如果存在多个匹配的元素,则返回第一个匹配的元素。
|
|
371
517
|
*
|
|
372
|
-
* @
|
|
373
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
518
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getelementbyid
|
|
519
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getelementbyid
|
|
374
520
|
* @uniPlatform {
|
|
375
521
|
* "app": {
|
|
376
522
|
* "android": {
|
|
@@ -406,8 +552,8 @@ export interface UniPage {
|
|
|
406
552
|
/**
|
|
407
553
|
* 返回 android 平台页面根 view
|
|
408
554
|
*
|
|
409
|
-
* @
|
|
410
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
555
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidview
|
|
556
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidview
|
|
411
557
|
* @uniPlatform {
|
|
412
558
|
* "app": {
|
|
413
559
|
* "android": {
|
|
@@ -443,8 +589,8 @@ export interface UniPage {
|
|
|
443
589
|
/**
|
|
444
590
|
* 返回 ios 平台页面根 view
|
|
445
591
|
*
|
|
446
|
-
* @
|
|
447
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
592
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getiosview
|
|
593
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getiosview
|
|
448
594
|
* @uniPlatform {
|
|
449
595
|
* "app": {
|
|
450
596
|
* "android": {
|
|
@@ -481,8 +627,8 @@ export interface UniPage {
|
|
|
481
627
|
/**
|
|
482
628
|
* 返回页面 HTML Element 对象
|
|
483
629
|
*
|
|
484
|
-
* @
|
|
485
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/
|
|
630
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#gethtmlelement
|
|
631
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#gethtmlelement
|
|
486
632
|
* @uniPlatform {
|
|
487
633
|
* "app": {
|
|
488
634
|
* "android": {
|