File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
exts/ext-harmonyos/src/main/resources/genius/harmonyos Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ArkUi has some special features:
10
10
- list data should use `ForEach`, like: `ForEach(this.numbers, (num: string) => { Text(num) })`
11
11
- layout should use `width` and `height` properties, like `.width('80%').height(200)`
12
12
13
- ArkUI layout and components fnfos :
13
+ ArkUI layout and components infos :
14
14
15
15
```ArkTS
16
16
${context.elements}
@@ -24,12 +24,12 @@ For example:
24
24
- Answer:
25
25
```ArkTS
26
26
Row() {
27
- Column() {
28
- Text(this.message)
29
- .fontSize(50)
30
- .fontWeight(FontWeight.Bold)
31
- }
32
- .width('100%')
27
+ Column() {
28
+ Text(this.message)
29
+ .fontSize(50)
30
+ .fontWeight(FontWeight.Bold)
31
+ }
32
+ .width('100%')
33
33
}
34
34
.height('100%')
35
35
```
You can’t perform that action at this time.
0 commit comments