大约有 453 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0066 秒)
Laya_社区(306) Laya3.0_api(61) Laya2.0_文档(28) Laya3.0_文档(17) Laya2.0_api(13) laya_api(12) Laya_示例(8) Laya2.0_示例(8)
...无法实现复制粘贴 var clipboard = new ClipboardJS('.copyContent',{text:str}); clipboard.on('success', function(e) { alert("复制成功!"); e.clearSelection(); }); clipboard.on('error', function(e) { console.log("复制失败!",e); }); 2018-06-26 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20180626
...s | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与...
来源: laya_api 发布时间: 20170929
...nSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:" + this.small_map.selectedLabel Laya.map_small_c = e } function onSelect_big(e) { if (e != 0) { if (Laya.keys > 0) { Laya.big_switch = 0 Laya.map_big = e Laya.maptype = "big" this.small_map.selected...
来源: Laya_社区 发布时间: 20180719
...:"List","child":[{"type":"Box","child":[{"props":{"skin":"comp/label.png","text":"this is a list","x":26,"y":5,"width":78,"height":20,"fontSize":14,"name":"label"},"type":"Label"},{"props":{"x":0,"y":2,"skin":"comp/clip_num.png","clipX":10,"name":"clip"},"type":"Clip"}],"props":{"name":"render","x":...
来源: Laya_社区 发布时间: 20170330
...nt('script'); myScript.src = jspath; //指定脚本路径 myScript.type = "text/javascript"; //指定脚本类型 myScript.defer = defer;//true; //程序下载完后再解析和执行 theHead.appendChild(myScript); //把dom挂载到头部 }这是我使用的动态加载js的脚本。 function onL...
来源: Laya_社区 发布时间: 20180316
...功能,在安卓下,直接这样写: function copyToClip(){ var Context = plus.android.importClass("android.content.Context"); var main = plus.android.runtimeMainActivity(); var clip = main.getSystemService(Context.CLIPBOARD_SERVICE); plus.android.invoke(clip,"setText","I'm copy from Native.js...
来源: Laya_社区 发布时间: 20170531
...votY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy...
来源: Laya3.0_api 发布时间: 20231115
...I DocumentationAll 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
...votY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRende...
来源: Laya3.0_api 发布时间: 20231115
...aleX scaleY scene scrollRect skewX skewY source stage staticCache template texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance advanceTime bubbleEvent callLater clearTimer contains customRe...
来源: Laya3.0_api 发布时间: 20231115