demo中添加不同fgui包中的同名组件测试

This commit is contained in:
gongxh
2025-09-04 22:31:32 +08:00
parent e48011d941
commit 89bb7bd0f4
22 changed files with 197 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
/**
* @Author: Gongxh
* @Date: 2025-09-04
* @Description:
*/
import { fgui, kunpo } from "../../../header";
const { uiheader, uiprop, uicom, uiclick } = kunpo._uidecorator;
const { bindMethod, bindProp } = kunpo.data;
@uicom("Basics", "Item1")
export class Item1 extends fgui.GComponent {
@uiprop
private lab_desc: fgui.GTextField;
public onInit(): void {
console.log("Basics Item1 onInit", this.lab_desc);
}
}