我们可以在Angular应用程序中使用md-autocomplete吗? [英] Can we use md-autocomplete within an Angular app?

查看:66
本文介绍了我们可以在Angular应用程序中使用md-autocomplete吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对Angular2和Angular来说还算是新的.

Fairly new to Angular2 and Angular in general.

https://material.angularjs.org/latest/中指出:

开发人员应注意,Angular Material v1仅适用于 角1.x.

Developers should note that Angular Material v1 works only with Angular 1.x.

此处 https://github.com/angular/angular/issues/4844 它说:

我们可以在Angular 2应用程序中使用Angular 1功能.

we could use Angular 1 features within an Angular 2 app.

因此,我对此表示怀疑.有人可以帮忙吗?

Hence, my doubts. Can anyone help?

请注意: 由于我是新手,因此我将无法测试并查看错误是由于不支持的功能atm,还是由于我的知识不足而引起的.因此,可以选择这个问题.

Please note: Since I'm fairly new, I wouldn't be able to test and see if the error is because of a non-supported feature atm, OR due to my lack of knowledge. Hence, the option for this question.

推荐答案

在此处查看角度2的Material2 正在开发中,将来我认为会自动完成.

look here Material2 for angular 2 it is under development, in future i think auto-complete will be there.

但是请查看本文,这可能对您有所帮助. http://4dev.tech/2016/03/tutorial-creating- an-angular2-autocomplete/,使用本文您还可以创建自己的angular2自动完成

but check this article this may help you for now. http://4dev.tech/2016/03/tutorial-creating-an-angular2-autocomplete/, using this article you can also create your own angular2 auto-complete

这篇关于我们可以在Angular应用程序中使用md-autocomplete吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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