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

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

831. TS项目中怎么使用promise [ 35%]

...目中怎么使用promise 只有去引入第三方包了吗? 2018-06-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 liwenhua 赞同来自: wulilio 我去,醉了醉了用的着这么麻烦吗?????...

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

832. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 34%]

...,这里用的是这个地址。 新建个项目,把下载的qrcode.js添加到index.html中。qrcode的api请参考地址。具体的逻辑代码如下: var div:any = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var ur...

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

833. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 32%]

...github.com/davidshimjs/qrcodejs)。 新建个项目,把下载的qrcode.js添加到index.html中。qrcode的api请参考[地址](https://github.com/davidshimjs/qrcodejs)。具体的逻辑代码如下: ```java package { import laya.display.Sprite; import laya.utils.Browser; public class Main { //...

来源: Laya2.0_文档 发布时间: 20210715

834. laya.ui.CheckBox [ 32%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[override] [read-only] 显示对象的实际显示区域高度...

来源: laya_api 发布时间: 20170929

835. laya.ui.ComboBox_API3.0 [ 32%]

...行的处理器。 Laya.stage.addChild(comboBox);//将此 comboBox 对象添加到显示列表。 } private function onSelect(index:int):void { trace("当前选中的项对象索引: ",index); } } } example Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置...

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

836. laya.ui.Label_API3.0 [ 32%]

...t = 200;//设置 label 的高度。 Laya.stage.addChild(label);//将 label 添加到显示列表。 var passwordLabel:Label = new Label("请原谅我,我不想被人看到我心里话。");//创建一个 Label 类的实例对象 passwordLabel 。 passwordLabel.asPassword = true;//设置 passwordLa...

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

837. laya.ui.Radio [ 32%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[override] [read-only] 显示对象的实际显示区域高度...

来源: laya_api 发布时间: 20170929

838. laya.ui.CheckBox [ 31%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

来源: Laya2.0_api 发布时间: 20190513

839. laya.ui.Radio [ 31%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

来源: Laya2.0_api 发布时间: 20190513

840. laya.ui.TextInput_API3.0 [ 31%]

...置 textInput 的高度。 Laya.stage.addChild(textInput);//将 textInput 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler.create(this, onL...

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