Can we use md-autocomplete within an Angular app?

点点圈 提交于 2019-12-08 05:47:56

问题


Fairly new to Angular2 and Angular in general.

Here https://material.angularjs.org/latest/ it states:

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

Here https://github.com/angular/angular/issues/4844 it says:

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

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. Hence, the option for this question.


回答1:


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

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



来源:https://stackoverflow.com/questions/37361678/can-we-use-md-autocomplete-within-an-angular-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!