InputViewVM.ts 926 B

123456789101112131415161718192021222324252627
  1. /// #pkgName FGUI包名
  2. /// #prefabName ui预制名字
  3. /// #viewName uiview名字
  4. /// #UIName ui的名字,prefabName首字母转大写
  5. /// 该脚本由模板创建,不可修改
  6. /// created by chenwb 2024
  7. import { FguiViewModel } from "../../../../frameWork/fgui/mvc/FguiViewModel";
  8. export class InputViewVM extends FguiViewModel {
  9. readonly Isday: fgui.Controller;
  10. readonly ThirdView: fgui.GComponent;
  11. readonly LineImg: fgui.GImage;
  12. readonly ConfirmBtn: fgui.GButton;
  13. readonly Input: fgui.GTextInput;
  14. constructor(panel: fgui.GComponent) {
  15. super(panel);
  16. this.Isday = panel.getController("isday");
  17. this.ThirdView = panel.getChild("ThirdView") as fgui.GComponent;
  18. this.LineImg = panel.getChild("LineImg") as fgui.GImage;
  19. this.ConfirmBtn = panel.getChild("ConfirmBtn") as fgui.GButton;
  20. this.Input = panel.getChild("Input") as fgui.GTextInput;
  21. }
  22. }