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

大约有 177 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)

141. 打开新窗口被拦截,同样的方法用egret和其他h5工程都没有问题 [ 59%]

... kvs1205 • 2018-03-21 13:59 这里是 laya里面的点击事件 declare function goToNewWindow(url):void; { var url:string = "http://www.baidu.com"; goToNewWindow(url); } 这是index.html的js方法 <script> function goToNewWindow(payurl) { var a = $("<a href='"+payurl...

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

142. laya.display.Stage_API3.0 [ 59%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

143. laya.filters.ColorFilter_API3.0 [ 58%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface

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

144. AS翻译成JS的时候能不能自动进行类型换啊?不然每个地方都要手动在AS进行手动添加强制[ 58%]

...• 2017-10-26 18:04 @Monica:多参函数的翻译也有问题啊。 AS: functiong storeString(type:String, ...value):void{ var a : * = value[0]; } 翻译后的JS: storeString=function(type,__value){ var value=[];for(var i=1,sz=arguments.length;i<sz;i++)value.push(arguments[i]); var a=value[0...

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

145. laya.spine.SpineSkeleton_API3.0 [ 58%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

146. laya.html.dom.HTMLIframeElement_API3.0 [ 58%]

...Node.ts:218 Parameters node: Node Returns Node callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:611 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

147. laya.display.Sprite_API3.0 [ 58%]

...prite_Example { private var sprite:Sprite; private var shape:Sprite public function Sprite_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();/...

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

148. laya.ani.swf.MovieClip_API3.0 [ 58%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

149. laya.ui.Panel_API3.0 [ 58%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

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

150. laya.html.dom.HTMLDivElement_API3.0 [ 58%]

...Node.ts:218 Parameters node: Node Returns Node callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:611 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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