大约有 141 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya3.0_api(63) Laya_社区(34) Laya2.0_api(14) laya_api(13) Laya2.0_文档(9) Laya3.0_文档(4) Laya2.0_示例(2) Laya_示例(2)
...s | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与...
来源: Laya2.0_api 发布时间: 20190513
...s | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与...
来源: laya_api 发布时间: 20170929
...s.onHttpRequestError); this.hr.send("http://www.baidu.com", null, 'post', 'text', ['Access-Control-Allow-Origin','*', 'Access-Control-Allow-Headers','X-Requested-With', 'Access-Control-Allow-Methods','GET,POST,OPTIONS']);//一定在哪写错,快来帮我看看呀 我没做过H5,没做过WEB,...
来源: Laya_社区 发布时间: 20151028
... map.removeSelf() play.removeSelf() over = new GameOverUI() over.txt_score.text = "25" over.btn_restart.on(Event.MOUSE_UP,this,gameInit) Laya.stage.addChild(over); } hero类: (function() { function Hero(type, hp) { Hero.__super.call(this); this.fly(); } Laya.class(Hero,"Hero", Air); var _proto = H...
来源: Laya_社区 发布时间: 20180911
... => { //点击后,打开Msg场景 Laya.Scene.open("Msg.ls", false, { "text": "点击成功!" }); }); } } 其中,Scene场景有一个Button组件,需要在IDE中,将其拖入到@property暴露的属性入口中。 Scene场景传递的参数数据为 { "text": "点击成功!" },在Msg...
来源: Laya3.0_文档 发布时间: 20251010
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/TextInput" TextInput Class TextInput TextInput 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextInput 实例。 package { import laya.display.Stage; import laya.ui.TextIn...
来源: Laya3.0_api 发布时间: 20231115
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/TextArea" TextArea Class TextArea TextArea 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextArea 实例。 package { import laya.ui.TextArea; import laya.utils.Handler; p...
来源: Laya3.0_api 发布时间: 20231115
...roup(group:String):void[static] 根据分组清理资源。 Loader clearTextureRes(url:String):void[static] 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是...
来源: Laya2.0_api 发布时间: 20190513
...lInheritanceLabel UIComponent Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...
来源: Laya2.0_api 发布时间: 20190513
...selected sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent ca...
来源: Laya3.0_api 发布时间: 20231115