Detecting clicks on a component is easy in Angular 2: Just use the (click) ... import { Directive , ElementRef } from '@angular/core' ;.
確定! 回上一頁