mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 16:43:34 -04:00
424696f97b
Signed-off-by: zhongjianfei <zhongjianfei@huawei.com>
12 lines
348 B
JavaScript
12 lines
348 B
JavaScript
class MyComponent extends View {
|
|
constructor() {
|
|
super();
|
|
this.value1 = value1;
|
|
this.value2 = value2;
|
|
this.value3 = value3;
|
|
console.info('into constructor');
|
|
}
|
|
render() { return new Column(new Text(this.value1), new Text(this.value2), new Text(this.value3)); }
|
|
}
|
|
loadDocument(new MyComponent());
|