大约有 138 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0078 秒)
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...ler = new Handler(this, onChange);//设置 progressBar 的value值改变时执行的处理器。 Laya.stage.addChild(progressBar);//将 progressBar 添加到显示列表。 Laya.timer.once(3000, this, changeValue);//设定 3000ms(毫秒)后,执行函数changeValue。 } private function changeV...
来源: Laya3.0_api 发布时间: 20231115
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: Laya2.0_api 发布时间: 20190513
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: Laya2.0_api 发布时间: 20190513
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: Laya2.0_api 发布时间: 20190513
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: Laya2.0_api 发布时间: 20190513
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: Laya2.0_api 发布时间: 20190513
...。 ComboBox selectHandler : Handler 改变下拉列表的选择项时执行的处理器(默认返回参数index:int)。 ComboBox sizeGrid : String 当前实例的位图 AutoImage 实例的有效缩放网格数据。 数据格式:"上边距,右边距,下边距,左边距,是否重复填充(...
来源: Laya2.0_api 发布时间: 20190513
...tHandler = new Handler(this, onSelect);//设置 comboBox 选择项改变时执行的处理器。 Laya.stage.addChild(comboBox);//将此 comboBox 对象添加到显示列表。 } private function onSelect(index:int):void { trace("当前选中的项对象索引: ",index); } } } example Laya.init(640...
来源: Laya3.0_api 发布时间: 20231115
...new Handler(this, onSelect);//设置 radioGroup 的选择项发生改变时执行的处理器。 Laya.stage.addChild(radioGroup);//将 radioGroup 添加到显示列表。 } private function onSelect(index:int):void { trace("当前选择的单选按钮索引: index= ", index); } } } example Laya.init...
来源: Laya3.0_api 发布时间: 20231115