大约有 14 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/TextInput" TextInput Class TextInput TextInput 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextInput 实例。 package { import laya.display.Stage; import laya.ui.TextIn...
来源: Laya3.0_api 发布时间: 20231115
...e.addChild(textArea);//将 textArea 添加到显示列表。 } } Hierarchy TextInput TextArea Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _tf _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activ...
来源: Laya3.0_api 发布时间: 20231115
...Package.createWidget("editorResources/UI/MyWidget.widget"); let input: gui.TextInput = this._panel.getChild("TextInput").getChild("title"); input.on("changed", () => { console.log("改变了!"); }) } } 四、程序化生成界面 4.1 常用方法 除了使用UI编辑器制作界面,也可以...
来源: Laya3.0_文档 发布时间: 20251010
...到显示列表。 } } see laya.display.Text Hierarchy UIComponent Label TextInput Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha ...
来源: Laya3.0_api 发布时间: 20231115