Nativescript 自动完成不可见 [英] Nativescript AutoComplete not visible

查看:26
本文介绍了Nativescript 自动完成不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有自动完成的最新工作解决方案?我尝试了上述步骤,但屏幕上看不到任何内容

Do any have the latest working solution for Autocomplete? I tried above steps but nothing is visible on screen

感谢您的回答和帮助!

我尝试了这些步骤,但在屏幕上没有任何效果或可见...

I tried this steps but nothing worked or visible on screen...

项目数组:

var item:Array<string> = ['1','2','3','4']

在组件的 HTML 中:

and in the HTML of the component:

<StackLayout>
    <AutoComplete [items]="item" itemTap="itemTapped($event)"> </AutoComplete>      
</StackLayout>

-问候

推荐答案

我已经能够创建一些东西,它不是插件,只是一段可以包含在项目中的代码.我在 tns-android 3.1.1 和 tns-core-modules @ 3.1.1 上进行了测试.不是在 GitHub 上查看 https://github.com/mbayi/nativescript-AutoComplete

I have been able to create something, It's not a plugin, just a piece of code you can include in your project. I tested on tns-android 3.1.1 and tns-core-modules @ 3.1.1. Not Check it on GitHub https://github.com/mbayi/nativescript-AutoComplete

这篇关于Nativescript 自动完成不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆