• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,144 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0087 秒)

1121. laya.ui.ScrollBar_API3.0 [ 35%]

... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...

来源: Laya3.0_api 发布时间: 20231115

1122. laya.ui.TextInput_API3.0 [ 35%]

...背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textInput:TextInput = new TextInput("这是一个TextInput实例。");//创建一个 TextInput 类的实例对象 textInput 。 textInput...

来源: Laya3.0_api 发布时间: 20231115

1123. laya.ui.Label_API3.0 [ 35%]

...宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.onInit(); } private onInit(): void { var label: Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的字体。 label.bold = true;//设置 label 显示为粗体。 la...

来源: Laya3.0_api 发布时间: 20231115

1124. laya.ui.FontClip_API3.0 [ 35%]

... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...

来源: Laya3.0_api 发布时间: 20231115

1125. laya.ui.UIGroup_API3.0 [ 35%]

... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...

来源: Laya3.0_api 发布时间: 20231115

1126. 2.12.2beta1 诸多bug [ 35%]

...weight:bold'>HTMLDivElement</span>"; ele.on(Laya.Event.LINK, this, (event: Laya.Event) => { console.log(event); }); Laya.stage.addChild(ele); zyy • 2021-11-09 13:51 @Laya_Fred: 这段代码 很简单 只是点击 输出 event 如果 把Laya.stage.y 向下调整 就会导致它点...

来源: Laya_社区 发布时间: 20211105

1127. laya.display.Animation_API3.0 [ 34%]

...模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.init(); } private init(): void { var animation:Animation = new Laya.Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation....

来源: Laya3.0_api 发布时间: 20231115

1128. laya.d3.core.scene.Scene3D_API3.0 [ 34%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

来源: Laya3.0_api 发布时间: 20231115

1129. HTML文本 · LayaAir3.0文档 · LAYABOX [ 33%]

...om/'>LayaBox欢迎你的加入!</span>"; div.on(Laya.Event.LINK,this,(data:any)=>{ Laya.Browser.window.location.href=data; }); Laya.stage.addChild(div); 运行效果: 点击文字链接可以打开浏览器访问网址 3.6 实现html页面跳转 示例如下: var iHtml:HTMLIframeEl...

来源: Laya3.0_文档 发布时间: 20230303

1130. 打包安卓Android studio黑屏 [ 33%]

...HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/ActivityThread: Attach th...

来源: Laya_社区 发布时间: 20190723