大约有 4 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
...Protected All Inherited Externals Only exported Menu Globals "laya/display/Input" Input Class Input Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输...
来源: Laya3.0_api 发布时间: 20231115
.../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.TextInput;...
来源: Laya3.0_api 发布时间: 20231115
... "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。");//创建一个 TextArea 类的实例对象 ...
来源: Laya3.0_api 发布时间: 20231115
...dChild(text);//将 text 添加到显示列表。 } } Hierarchy Sprite Text Input Index Constructors constructor Properties _extra _onPostLayout _ownGraphics _parseEscapeChars _scene _skinBaseUrl _url autoSize hitTestPrior ignoreLang mouseThrough name tag ELLIPSIS HIDDEN RightToLeft SCROLL SHRINK VIS...
来源: Laya3.0_api 发布时间: 20231115