Debian Codegraph @

tests/inputs/openharmony.ets

raw
1 // https://github.com/openharmony/docs/blob/master/en/application-dev/quick-start/start-with-ets.md
2 // index.ets
3 @Entry
4 @Component
5 struct Index {
6 @State message: string = 'Hello World'
7
8 build() {
9 Row() {
10 /*
11 Column() {
12 Text(this.message)
13 .fontSize(50)
14 .fontWeight(FontWeight.Bold)
15 }
16 .width('100%')
17 */
18 }
19 .height('100%')
20 }
21 }