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

大约有 3 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0012 秒)

1. 文本-单行输入 [ 100%]

...inputText.y = Laya.stage.height - inputText.height >> 1; // 移动端输入提示inputText.prompt = "Type some word..."; // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; } } new Text_InputSingleline();module laya { ...

来源: Laya2.0_示例 发布时间: 20240930

2. 文本-多行输入 [ 99%]

... - inputText.height >> 1; inputText.padding = [2,2,2,2]; // 移动端输入提示inputText.prompt = "Type some word..."; // 设置字体样式 inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; } } new Text_InputMultiline();module laya { import Input = Laya.Inpu...

来源: Laya2.0_示例 发布时间: 20240930

3. IDE-显示IDE创建的界面 [ 88%]

...是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Event.CLICK, this, onBtnClick); this.btn2.on(Event.CLICK, this, onBtn2Click); function onBtnClick() { //手动控制组件属性 this.radio.selectedIndex = 1; this.clip.index = 8; this.tab.selectedIndex = 2...

来源: Laya2.0_示例 发布时间: 20200319