df8e15cab7
Example: @Directive({selector: 'my-directive'}) class MyDirective { @HostBinding("attr.my-attr") myAttr: string; @HostListener("click", ["$event.target"]) onClick(target) { this.target = target; } } Closes #3996 |
||
---|---|---|
.. | ||
angular1_router | ||
angular2 | ||
angular2_material | ||
benchmarks | ||
benchmarks_external | ||
benchpress | ||
examples | ||
rtts_assert |