大约有 70 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
...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
...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
...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
...约束 | |---|---|---| | 字段不存在 | classic | 仅用经典 UI(Box/Button/Label 等) | | `"both"` | both | 两套均可,同模块保持一致 | | `"ui2"` | new | 仅用新 UI (GBox/GButton/GLabel 等) | --- ## 物理引擎识别 读取 `settings/PlayerSettings.json` 判断物理引擎:...
来源: Laya3.0_文档 发布时间: 20260128
...的代码: ```java package { import laya.display.Sprite; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; public class Main { public function Main() { //初始化引擎 Laya.init(500,500); var skins:Array = [ "res/button-1.png" ]; Laya.loader.load(skins, Handler.create(...
来源: Laya2.0_文档 发布时间: 20210715
...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...
来源: Laya2.0_文档 发布时间: 20210715
...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_文档 发布时间: 20251010
...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