Fix changelog before\after sample

display correctly `feat(core): remove the (^ syntax and make all DOM events bubbling` sample

Closes #4491
This commit is contained in:
Dmitriy Shekhovtsov 2015-10-03 12:38:22 +03:00 committed by Misko Hevery
parent e3c9397717
commit 53fe0fa192
1 changed files with 4 additions and 0 deletions

View File

@ -374,13 +374,17 @@ This is not the case any more. To access that binding, remove the constraint.
[remove the (^ syntax and make all DOM events bubbling)](https://github.com/angular/angular/commit/60ce8846710338228bc7db3d3c808c166e15e931) [remove the (^ syntax and make all DOM events bubbling)](https://github.com/angular/angular/commit/60ce8846710338228bc7db3d3c808c166e15e931)
* Before * Before
```html
<div (^click)="onEventHandler()"> <div (^click)="onEventHandler()">
<button></button> <button></button>
</div> </div>
```
* After * After
```html
<div (click)="onEventHandler()"> <div (click)="onEventHandler()">
<button></button> <button></button>
</div> </div>
```
#### Properties/Events (Inputs/Outputs) #### Properties/Events (Inputs/Outputs)