简体   繁体   English

我们可以在Angular应用程序中使用md-autocomplete吗?

[英]Can we use md-autocomplete within an Angular app?

Fairly new to Angular2 and Angular in general. 对Angular2和Angular来说还算是新的。

Here https://material.angularjs.org/latest/ it states: 这里https://material.angularjs.org/latest/指出:

Developers should note that Angular Material v1 works only with Angular 1.x. 开发人员应注意,Angular Material v1仅适用于Angular1.x。

Here https://github.com/angular/angular/issues/4844 it says: 在这里https://github.com/angular/angular/issues/4844它说:

we could use Angular 1 features within an Angular 2 app. 我们可以在Angular 2应用程序中使用Angular 1功能。

Hence, my doubts. 因此,我的怀疑。 Can anyone help? 有人可以帮忙吗?

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. 请注意:由于我是新手,所以我将无法测试并查看错误是否是由于不支持的功能atm,还是由于我缺乏知识。 Hence, the option for this question. 因此,这个问题的选择。

look here Material2 for angular 2 it is under development, in future i think auto-complete will be there. 在这里看,Angular 2的Material2正在开发中,将来我认为会自动完成。

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 http://4dev.tech/2016/03/tutorial-creating-an-angular2-autocomplete/ ,使用本文您还可以创建自己的angular2自动完成

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM