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

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

401. laya.ui.Dialog_API3.0 [ 23%]

...dragArea = "0,0,150,50";//设置 dialog 的拖拽区域。 dialog.show();//显示 dialog。 dialog.closeHandler = new Handler(this, onClose);//设置 dialog 的关闭函数处理器。 } private function onClose(name:String):void { if (name == Dialog.CLOSE) { trace("通过点击 name 为" + name +"...

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

402. laya.ui.Dialog [ 23%]

...垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态像...

来源: laya_api 发布时间: 20170929

403. laya.ui.UIGroup [ 23%]

...直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态像...

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

404. laya.ui.Slider_API3.0 [ 23%]

...和最大值之间特定间隔内的值。滑块还可以使用数据提示显示其当前值。 see laya.ui.HSlider see laya.ui.VSlider Hierarchy UIComponent Slider HSlider VSlider Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestP...

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

405. laya.display.Sprite_API3.0 [ 22%]

... Menu Globals "laya/display/Sprite" Sprite Class Sprite Sprite 是基本的显示形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制片或者矢量,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用...

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

406. laya.ui.Dialog [ 22%]

...间的垂直距离(以像素为单位)。 View cacheAs : String 指定显示对象是否缓存为静态像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态像...

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

407. laya.media.SoundNode_API3.0 [ 22%]

...id Inherited from Text.cacheAs Defined in laya/display/Sprite.ts:343 指定显示对象是否缓存为静态像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态像...

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

408. UI-RefreshList [ 21%]

...ntName, this, () => { console.log("达到了滚动限制:" + eventName); //显示加载进度ui this.refreshLoading.visible = true; //处理加载ui的位置 if (eventName === "dragTopLimit") { //先清理bottom的状态,避免top计算出错 this.refreshLoading.bottom = NaN; this.refreshLoading.t...

来源: Laya2.0_示例 发布时间: 20260303

409. laya.ui.List [ 21%]

... Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身...

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

410. laya.ui.HScrollBar_API3.0 [ 21%]

...ollBar (水平 ScrollBar )控件,可以在因数据太多而不能在显示区域完全显示时控制显示的数据部分。 example 以下示例代码,创建了一个 HScrollBar 实例。 package { import laya.ui.HScrollBar; import laya.utils.Handler; public class HScrollBar_Example { pri...

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