@dcloudio/uni-app-x 0.7.63 → 0.7.65
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
|
@@ -24,9 +24,16 @@ export interface UniNativeBaseView {
|
|
|
24
24
|
*/
|
|
25
25
|
slot: UniNativeSlotType
|
|
26
26
|
|
|
27
|
+
/**
|
|
28
|
+
* 获取内部ID值,用于框架调用,不对外公开
|
|
29
|
+
* Android平台在kotlin层实现
|
|
30
|
+
* 鸿蒙/iOS平台在c层实现
|
|
31
|
+
*/
|
|
32
|
+
getNodeId(): number
|
|
33
|
+
|
|
27
34
|
/**
|
|
28
35
|
* 获取渲染相关
|
|
29
|
-
* 子类需根据支持的样式重写
|
|
36
|
+
* 子类需根据支持的样式重写
|
|
30
37
|
*/
|
|
31
38
|
/**
|
|
32
39
|
* 获取字符串格式样式
|
|
@@ -153,7 +160,7 @@ export interface UniNativeBaseView {
|
|
|
153
160
|
/**
|
|
154
161
|
* CSS: visibility
|
|
155
162
|
* 元素是否可见
|
|
156
|
-
* 默认可见
|
|
163
|
+
* 默认可见
|
|
157
164
|
*/
|
|
158
165
|
visibility(value: UniNativeVisibilityType): UniNativeBaseView
|
|
159
166
|
|
|
@@ -39,7 +39,7 @@ export class UniElementImpl implements UniElement {
|
|
|
39
39
|
offsetWidth: number;
|
|
40
40
|
offsetHeight: number;
|
|
41
41
|
ext: Map<string, any>;
|
|
42
|
-
getNodeId():
|
|
42
|
+
getNodeId(): number;
|
|
43
43
|
takeSnapshot(options: TakeSnapshotOptions): void;
|
|
44
44
|
appendChild(aChild: UniElement): void;
|
|
45
45
|
insertBefore(newChild: UniElement, refChild?: UniElement | null): UniElement | null;
|