大约有 2 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0014 秒)
...ction onBtnClick() { //手动控制组件属性 this.radio.selectedIndex = 1; this.clip.index = 8; this.tab.selectedIndex = 2; this.combobox.selectedIndex = 0; this.check.selected = true; } function onBtn2Click() { //通过赋值可以简单快速修改组件属性 //赋值有两种方式: //简...
来源: Laya_示例 发布时间: 20260814
... Matter.MouseConstraint.create(engine, { constraint: { angularStiffness: 0.1, stiffness: 2 }, element: Render.canvas }); Matter.World.add(engine.world, mouseConstraint); render.mouse = mouseConstraint.mouse; } function initWorld() { var ground = Matter.Bodies.rectangle(395, 600, 815, 50, { isStatic:...
来源: Laya_示例 发布时间: 20260814