[Angular 2] Using events and refs

Posted Answer1215

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Angular 2] Using events and refs相关的知识,希望对你有一定的参考价值。

This lesson shows you how set listen for click events using the (click) syntax. It also covers getting values off of an input using the #ref syntax then passing that value into the onClick event handler.

 

 

以上是关于[Angular 2] Using events and refs的主要内容,如果未能解决你的问题,请参考以下文章