阅读背景:

Detect Input Focus Using Angular 2+

来源:互联网 

I'm trying to create an auto-complete list that appears as you type, but disappears when you click elsewhere on the document. How do I detect that a form input is focused using Angular 2. Angular 1 has ng-focus, but I don't think Angular 2 supports that anymore.I'm trying to create an auto-complete list that




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: