• 首页
  • 动态
  • 案例
  • 引擎社区
  • 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; Laya.stage.addChild(inputText); } })();module...

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

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

...); function createInput() { var inputText = new Input(); // 移动端输入提示inputText.prompt = "Type some word..."; //多行输入 inputText.multiline = true; inputText.wordWrap = true; inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage...

来源: Laya_示例 发布时间: 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...

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