大约有 4 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0014 秒)
... duration, Ease[list.selectedItem]); } createDurationCrontroller() { const Event = Laya.Event; let durationInput = this.createInputWidthLabel("Duration:", '2000', 400, 10); durationInput.on(Event.INPUT, this, function() { duration = parseInt(durationInput.text); }); } createInputWidthLabel(label, pr...
来源: Laya2.0_示例 发布时间: 20241124
...ayInput.type = "date"; passwordInput.type = "password"; Laya.stage.on(Laya.Event.RESIZE, this, this.fitDOMElements, [emailInput, birthdayInput, passwordInput]); } showLabel(label, x, y) { const Text = Laya.Text; let t = new Laya.Text(); t.height = this.rowHeight; t.valign = "middle"; t.fontSize = 15...
来源: Laya2.0_示例 发布时间: 20241124
...发更高效。var Loader = Laya.Loader; var Handler = Laya.Handler; var Event = Laya.Event; // 创建TestPageUI的子类 function TestUI() { TestUI.super(this); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Event.CLICK, this, onBtnClick); this.bt...
来源: Laya2.0_示例 发布时间: 20200319
...lor = "#232628"; this.connect(); } connect() { const Socket = Laya.Socket, Event = Laya.Event; socket = new Socket(); //socket.connect("echo.websocket.org", 80); socket.connectByUrl("ws://echo.websocket.org:80"); output = socket.output; socket.on(Event.OPEN, this, this.onSocketOpen); socket.on(Event...
来源: Laya2.0_示例 发布时间: 20241124