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

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

81. textInput的单行输入&多行输入(JavaScript-LayaAir基础篇(JS)-文本) [ 83%]

...行输入&多行输入 文本输入框是游戏中经常会用到的一个UI组件,任何时候需要输入的时候都要使用到textInput这个类,我们先看一下TextInput这个类的API。 laya.ui.textInput中所有的API参数: ![1](img/1.png) 这里我们设置文本的单行输入和...

来源: Laya2.0_文档 发布时间: 20210714

82. laya.ui.UIGroup_API3.0 [ 83%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/UIGroup" UIGroup Class UIGroup Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Hierarchy Box UIGroup RadioGroup Tab Index Con...

来源: Laya3.0_api 发布时间: 20231115

83. UI-Button [ 83%]

... Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; skins = [ "../../res/ui/button-1.png", "../../res/ui/button-2.png", "../../res/ui/button-3.png", "../../res/ui/button-4.png", "../../res/ui/button-5.png", "../../res/ui/button-6.png" ]; // 计算将Button至于舞台中心的偏移量 xOffset = (...

来源: Laya_示例 发布时间: 20251130

84. laya.ui.AdvImage_API3.0 [ 83%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/AdvImage" AdvImage Class AdvImage 广告插件 author 小松 date -2018-09-19 Hierarchy Image AdvImage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrou...

来源: Laya3.0_api 发布时间: 20231102

85. laya.ui.VBox_API3.0 [ 83%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/VBox" VBox Class VBox VBox 是一个垂直布局容器类。 Hierarchy LayoutBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough nam...

来源: Laya3.0_api 发布时间: 20231115

86. laya.ui.Slider_API3.0 [ 83%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Slider" Slider Class Slider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值和最大值)之间滑块的...

来源: Laya3.0_api 发布时间: 20231115

87. laya.ui.HBox_API3.0 [ 83%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/HBox" HBox Class HBox HBox 是一个水平布局容器类。 Hierarchy LayoutBox HBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTO...

来源: Laya3.0_api 发布时间: 20231115

88. laya.ui.ViewStack_API3.0 [ 83%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ViewStack" ViewStack Class ViewStack ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Hierarchy Box ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _u...

来源: Laya3.0_api 发布时间: 20231115

89. laya.ui.OpenDataContextView_API3.0 [ 83%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/OpenDataContextView" OpenDataContextView Class OpenDataContextView 微信开放数据展示组件,直接实例本组件,即可根据组件宽高,位置,以最优的方式显示开放域数据 Hierarchy UIComponent ...

来源: Laya3.0_api 发布时间: 20231115

90. laya.ui.LayoutBox_API3.0 [ 83%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/LayoutBox" LayoutBox Class LayoutBox LayoutBox 是一个布局容器类。 Hierarchy Box LayoutBox HBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mous...

来源: Laya3.0_api 发布时间: 20231115