大约有 21 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
...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
...值为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
... 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
...设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...
来源: laya_api 发布时间: 20170929
...设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...
来源: Laya2.0_api 发布时间: 20190513
...同来自: 你可以修改DialogManager类中的popupEffect弹出效果和closeEffect关闭效果,从而实现你想要的效果 2017-04-22 0 0 分享 微博 QZONE 微信 sogetsu 赞同来自: 我知道是修改这两个,但是我不知道我要的效果应该怎么改 2017-04-22 0 0 分享 微...
来源: Laya_社区 发布时间: 20170422
...哪里关闭啊,文档上是说通过设置manager.popupEffect和manager.closeEffect可以设置弹出效果和关闭效果,,但是都找不到这2个东西啊 ios webview 打开一个页面所有东西都不可点击 问题状态 最新活动: 2018-05-22 15:31 浏览: 972 关注: 2 人 asdf13...
来源: Laya_社区 发布时间: 20180521
...哪里关闭啊,文档上是说通过设置manager.popupEffect和manager.closeEffect可以设置弹出效果和关闭效果,,但是都找不到这2个东西啊 我照着MeshColliderShape网格型碰撞器的文档,把一只蝎子作为碰撞的对象,导入到laya以后,蝎子不见了...
来源: Laya_社区 发布时间: 20190930
...设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 example 以下示例代码,创建了一个 Dialog 实例。 package { import laya.ui.Dialog; impo...
来源: Laya3.0_api 发布时间: 20231115
...器的垂直方向中心线的距离(以像素为单位)。 Component closeEffect : Handler 关闭对话框效果,可以设置一个效果代替默认的关闭效果,如果不想有任何效果,可以赋值为null 全局默认关闭效果可以通过manager.closeEffect修改 Dialog close...
来源: laya_api 发布时间: 20170929