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

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

11. 1.7.3 beta 版本 Dialog 设置 scale 无效 [ 59%]

...ialog的缓动动画去掉 Dialog.manager.popupEffect=null; Dialog.manager.closeEffect=null; dialog.scale(0.5,0.5); ------------------------------------ 损失了动画,但能用。 2017-04-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...

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

12. 模板@prop如何使用枚举 [ 57%]

...要显示自己定义的枚举 enum ENUM_Effect{ null=0, popupEffect = 1, closeEffect = 2 };  function ENUM_ChangeString(enumObject) { let reslut=""; for (var entry in ENUM_Effect) { reslut=reslut+","+entry; }  return reslut; } /** @prop {name:targetEffect, tips:"UI特效", type:ENUM_Effect, defau...

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

13. dialog 自定义关闭效果,效果执行完,弹窗无法关闭 [ 56%]

...博 QZONE 微信 gls_laybox 赞同来自: //关闭特效自己实现 this.closeEffect = Laya.Handler.create(this,this.onCloseEffect,null,true);   //具体的实现代码 _proto_.onCloseEffect = function(){ Laya.Tween.to(this,{ x:-100 //动画结束就关闭 },1000,null,Laya.Handler.create(this,this...

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

14. popup设置了关闭效果后,窗口关闭但遮罩层没有关掉,请问如何处理 [ 56%]

...per(); this.popupEffect = Laya.Handler.create(this, this.showEffect); this.closeEffect = Laya.Handler.create(this, this.hideEffect); this.btnClose.on(Laya.Event.CLICK, this, this.closeDialog); } //关闭 closeDialog(): void { this.close(); } //关闭效果 hideEffect(): void { Laya.Tween.to(this,{y:...

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

15. Image控件可以设置颜色么? [ 55%]

...要用到颜色渐变的动画。本来想改一下DialogManager里面的closeeffect,但是颜色动画不知道怎么Tween。现在没有找到好的方法来做。 2018-01-14 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: tween 有个 update 回调,可以在状态改变的时候触发...

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

16. laya.ui.Dialog [ 53%]

...设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...

来源: laya_api 发布时间: 20170929

17. dialog可以点击到外部的元素,如何使其外边不能点击 [ 52%]

...设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 但是你如果用的是show弹出的对话框才是没有遮罩的, 你参考一下api吧!你...

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

18. laya.ui.Dialog [ 51%]

...设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...

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

19. 我在dialog a上继续弹出dialog b 。需要关闭b的时候,a依然存在。怎么做? [ 50%]

... constructor() { super(); console.log(" Here is DlgNote2"); this.closeEffect = null; this.closeBtn.on(Laya.Event.CLICK, this, this.toClose); //this.show(); } b的关闭方法: toClose():void{ //Laya.Scene.open("datiPage.scene"); this.close(); } a和b都是独立的ts类, expo...

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

20. popupEffect 有谁能告诉我dialog的这个东西要怎么用啊? [ 50%]

...值为null          * 全局默认关闭效果可以通过manager.closeEffect修改      public var popupEffect:Function = function(dialog:Sprite):void {             dialog.scale(1, 1);             Tween.from(dialog, {x: Laya.stage.width / 2, y: Laya.stage.height ...

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