Files
developtools_ace-ets2bundle/compiler/sample/pages/testcases/expected/component-01-expected.js
T
zhongjianfei 424696f97b zhongjianfei@huawei.com
Signed-off-by: zhongjianfei <zhongjianfei@huawei.com>
2021-08-28 16:48:39 +08:00

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());