angular-docs-cn/modules/angular2/test/core
vsavkin df8e15cab7 feat(core): add support for @HostBinding and @HostListener
Example:

@Directive({selector: 'my-directive'})
class MyDirective {
  @HostBinding("attr.my-attr") myAttr: string;
  @HostListener("click", ["$event.target"])
  onClick(target) {
    this.target = target;
  }
}

Closes #3996
2015-09-04 22:18:22 +00:00
..
change_detection refactor: prefer const over var for constants 2015-08-31 21:59:33 +00:00
compiler feat(core): add support for @HostBinding and @HostListener 2015-09-04 22:18:22 +00:00
debug chore(ts2dart): replace List with Array 2015-08-31 21:32:10 +00:00
di feat(di): add support for multi bindings 2015-09-03 15:18:18 +00:00
directives feat(NgFor): $last property support 2015-09-04 21:01:42 +00:00
dom chore: update all import paths 2015-08-25 15:33:23 -07:00
facade chore(ts2dart): replace List with Array 2015-08-31 21:32:10 +00:00
life_cycle refactor(tests): removed @IMPLEMENTS 2015-08-26 15:06:25 -07:00
metadata chore: update all import paths 2015-08-25 15:33:23 -07:00
pipes feat(di): add support for multi bindings 2015-09-03 15:18:18 +00:00
profile chore: update all import paths 2015-08-25 15:33:23 -07:00
reflection feat(core): add support for @Property and @Event decorators 2015-09-04 18:33:31 +00:00
render refactor(event_manager): use multi bindings to configure EventManager 2015-09-04 21:57:36 +00:00
services refactor(tests): removed @IMPLEMENTS 2015-08-26 15:06:25 -07:00
testability chore: update all import paths 2015-08-25 15:33:23 -07:00
util chore: update all import paths 2015-08-25 15:33:23 -07:00
zone refactor(test_lib): BrowserDetection util 2015-08-28 11:41:17 +02:00
application_spec.ts feat(exception_handler): changed ExceptionHandler to use console.error instead of console.log 2015-08-28 00:09:01 +00:00
directive_lifecycle_integration_spec.ts feat(core): added afterContentInit, afterViewInit, and afterViewChecked hooks 2015-08-31 17:16:54 +00:00
exception_handler_spec.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
forward_ref_integration_spec.dart feat: allow for forward references in injection 2015-05-15 21:12:57 -07:00
forward_ref_integration_spec.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
spies.dart feat(compiler): add stylesheet compiler 2015-09-04 19:22:43 +00:00
spies.ts feat(compiler): add stylesheet compiler 2015-09-04 19:22:43 +00:00