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

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

11. 输入文本组件 · LayaAir3.0文档 · LAYABOX [ 87%]

... 输入框类型,共有十三种类型:text、password、email、url、number、range、date、month、week、time、dateime、dateime—local、search。效果等同HTML的input maxchars 最大字符数,默认为100000。设置字符数量限制时,小于等于0的值将会限制字符数...

来源: Laya3.0_文档 发布时间: 20230629

12. 怎么获得laya.input输入框里面的值 [ 85%]

...stage中的坐标 获得,stage缩放比例 把textInput的type设置为number的时候无法设置最多能输入的字数 TextInput在手机上文字输入位置不对 问题状态 最新活动: 2017-04-24 09:31 浏览: 3459 关注: 2 人

来源: Laya_社区 发布时间: 20170424

13. laya.ui.TextInput [ 84%]

...": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  asPassword : Boolea...

来源: laya_api 发布时间: 20170929

14. UI-Input [ 83%]

...omplete));//加载资源。 } private onLoadComplete(): void { for (var i: number = 0; i < this.skins.length; ++i) { var input: TextInput = this.createInput(this.skins[i]); input.prompt = 'Type:'; input.x = (Laya.stage.width - input.width) / 2; input.y = i * this.SPACING + this.Y_OFFSET; } } private...

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

15. UI-Input [ 83%]

...omplete));//加载资源。 } private onLoadComplete(): void { for (var i: number = 0; i < this.skins.length; ++i) { var input: TextInput = this.createInput(this.skins[i]); input.prompt = 'Type:'; input.x = (Laya.stage.width - input.width) / 2; input.y = i * this.SPACING + this.Y_OFFSET; } } private...

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

16. 打包后掉数字键盘 [ 81%]

...信 189*****192 赞同来自: 怎么设置数字键盘的 &lt;input type="number"&gt;  type 设置成 number 吗? 2017-06-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zjw917329684 相关问题 图集打包找不到图集文件 ...

来源: Laya_社区 发布时间: 20170605

17. layaNative打包后Input的几个问题 [ 81%]

...用啊 2.textInput怎么能调起手机输入法数字键盘呢? type=“number”在App中无效 3.在点击textInput时 弹出输入法时 画布会往上移,有什么方法能禁止画布上移吗?  2019-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

来源: Laya_社区 发布时间: 20190507

18. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 80%]

...Format { /** * 背景色 */ bgColor?: string; /** * 是否加粗 */ bold?: number; /** * 文本框背景色 */ borderColor?: string; /** * 文本颜色 */ color?: string; /** * 字体 */ font?: string; /** * 字体大小 */ fontSize?: number; /** * 是否为斜体 */ italic?: number; /** * 行间距...

来源: Laya_社区 发布时间: 20171226

19. laya.ui.TextArea_API3.0 [ 79%]

...isplay.Text#align Parameters value: string Returns void alpha get alpha(): number set alpha(value: number): void Inherited from Text.alpha Defined in laya/display/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from...

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

20. laya.ui.TextInput_API3.0 [ 79%]

...isplay.Text#align Parameters value: string Returns void alpha get alpha(): number set alpha(value: number): void Inherited from Text.alpha Defined in laya/display/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from...

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