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

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

171. LAYA IDE 设置语言包路径后卡死 [ 66%]

...lace is not a function TypeError: text.replace is not a function     at Input.__proto.parseLines (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:60001:19)     at Input.__proto.typeset (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:59934:9)     at TimerHa...

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

172. laya.ui.TextInput [ 66%]

...cumentationAll Packages | All Classes | Index | Frames No Frames TextInputProperties | Methods | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入...

来源: laya_api 发布时间: 20170929

173. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 66%]

... tmpColors.join(","); } } } /** * 输入框样式赋值 * @param {Laya.TextInput} input * @param {ITextFormat} styleObj */ assignTextInputFontStyle(input: Laya.TextInput, style: string | ITextFormat): void { let styleObj: ITextFormat; if (typeof style === "string") { styleObj = this.getStyleById(sty...

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

174. 在web端运行时,使用输入框,在加载的第一次手动输入时,会出现底部有个黑色块的问题 [ 66%]

...部有个黑色块的问题 在执行到laya.core.js中第16443行代码的input.focus()后就会出现黑色块,在重新点击之后黑色块会消失,有点影响体验,但input.focus()我暂时没找到定义,在注释之后不会出现黑色块,但web的输入框选中要点击两次...

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

175. 原生js实现复制到剪贴板功能在浏览器中不可用 [ 66%]

原生js实现复制到剪贴板功能在浏览器中不可用 var oInput = document.createElement('input'); oInput.value = "复制的内容"; document.body.appendChild(oInput); oInput.select(); // 选择对象 document.execCommand("Copy"); // 执行浏览器复制命令用原生js实现复制功...

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

176. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 65%]

...     }     onUpdate(){         let touchCount = this.scene.input.touchCount();         if (1 === touchCount){             //判断是否为两指触控,撤去一根手指后引发的touchCount===1             if(this.isTwoTouch){           ...

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

177. 微信小游戏加载资源问题 [ 65%]

...url = null; } } } MiniSound._id = 0; MiniSound._audioCache = {}; class MiniInput { constructor() { } static _createInputElement() { Laya.Input['_initInput'](Laya.Input['area'] = Laya.Browser.createElement("textarea")); Laya.Input['_initInput'](Laya.Input['input'] = Laya.Browser.createEleme...

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

178. 怎么获取手机相册内容 [ 64%]

怎么获取手机相册内容 怎么获取手机相册内容 <input accept="image/*" type="file">这个可以获得,但是怎么用,怎么接收,有没有有经验的。谢过大家了     2018-05-29 添加评论 已悬赏2元 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

179. 3D 鼠标检测 错乱 [ 64%]

..."mouseup": this._mouseTouchUp(); break ; case "mousemove":; var mousePoint=Input3D._tempPoint; mousePoint.setTo(e.pageX,e.pageY); Laya.stage._canvasTransform.invertTransformPoint(mousePoint); this._mouseTouch.mousePositionX=mousePoint.x; this._mouseTouch.mousePositionY=mousePoint.y; this._mouseTouch...

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

180. laya.net.Socket_API3.0 [ 63%]

...hy EventDispatcher Socket Index Constructors constructor Properties disableInput protocols BIG_ENDIAN LITTLE_ENDIAN Accessors connected endian input output Methods cleanSocket close connect connectByUrl event flush hasListener off offAll offAllCaller on once send Constructors constructor new Socket(...

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