[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.

原文地址:https://www.cnblogs.com/Answer1215/p/5293611.html