大约有 561 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0096 秒)
...s,this.onUIAssetsLoaded)); } private onUIAssetsLoaded():void{ var btn:Laya.Button = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("inpu...
来源: Laya3.0_文档 发布时间: 20240910
...N和RIGHT_MOUSE_UP,改为派发MOUSE_DOWN和MOUSE_UP,可以通过Event.button区分鼠标左中右键。 3.5 事件汇总 Laya.Script 里相关的输入处理函数有: /** * 鼠标按下时执行 */ onMouseDown?(evt: Event): void; /** * 鼠标抬起时执行 */ onMouseUp?(evt: Event): void; /...
来源: Laya3.0_文档 发布时间: 20250217
...ntInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager, WXOpenDataViewer Component 是ui控件类的基类。 生命周期:preinitialize > createChildren > initialize > 组件...
来源: Laya2.0_api 发布时间: 20190513
...ent Sprite Node EventDispatcher ObjectImplements IComponentSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager Component 是ui控件类的基类。 生命周期:preinitialize > createChildren > initialize > 组件构造函数 Publi...
来源: laya_api 发布时间: 20170929
...e(this,onUIAssetsLoaded)); function onUIAssetsLoaded(){ var btn = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file = Laya.Browser.document.createElement("input"); //设置file样...
来源: Laya2.0_文档 发布时间: 20210714
...seUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet ...
来源: Laya3.0_api 发布时间: 20231115
...seUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet ...
来源: Laya3.0_api 发布时间: 20231115
...in(value: string): void Defined in laya/ui/ColorPicker.ts:397 copy laya.ui.Button#skin Returns string Defined in laya/ui/ColorPicker.ts:401 copy laya.ui.Button#skin Parameters value: string Returns void stage get stage(): Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞...
来源: Laya3.0_api 发布时间: 20231115
...seUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet ...
来源: Laya3.0_api 发布时间: 20231115
...nitialize > 组件构造函数 Hierarchy Sprite UIComponent Box ISelect Button Clip ColorPicker Label Image Slider ScrollBar ComboBox ProgressBar TipManager OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThroug...
来源: Laya3.0_api 发布时间: 20231115