我知道我是否需要在 angular 1.3 或 1.4 中使用 3rd 方库。我需要对那个东西做出指令并在我们的项目中使用它。现在我正在使用angular 2.0。我想在angular 2
https://jqueryui .com/autocomplete/
或这个
https://jsfiddle.net/2rgrmv4q/
我可以jquery
在angular2
.
1.我将如何在角度使用 3rd 方库。
2.我如何在角度2中自动完成jquery。
这是我的代码 http://plnkr.co/edit/BxMcNXLjVOJBAIiBGL5Y?p=preview
// 代码在这里
import {Component,View} from 'angular2/core';
@Component({
selector:'my-app'
templateUrl: 'home/home.html',
})
export class AppComponent {
constructor() { }
}