docs(changelog): fix formatting
This commit is contained in:
parent
27a4d0ce11
commit
20812f446f
10
CHANGELOG.md
10
CHANGELOG.md
@ -30,14 +30,20 @@
|
|||||||
### BREAKING CHANGES
|
### BREAKING CHANGES
|
||||||
|
|
||||||
* For static content projection, elements with *-directives are now matched against the element itself vs the template before.
|
* For static content projection, elements with *-directives are now matched against the element itself vs the template before.
|
||||||
<p *ngIf="condition" foo></p>
|
|
||||||
|
`<p *ngIf="condition" foo></p>`
|
||||||
|
|
||||||
Before:
|
Before:
|
||||||
|
```html
|
||||||
// Use the implicit template for projection
|
// Use the implicit template for projection
|
||||||
<ng-content select="template"></ng-content>
|
<ng-content select="template"></ng-content>
|
||||||
|
```
|
||||||
|
|
||||||
After:
|
After:
|
||||||
|
```html
|
||||||
// Use the actual element for projection
|
// Use the actual element for projection
|
||||||
<ng-content select="p[foo]"></ng-content>
|
<ng-content select="p[foo]"></ng-content>
|
||||||
|
```
|
||||||
|
|
||||||
<a name="2.0.0-beta.12"></a>
|
<a name="2.0.0-beta.12"></a>
|
||||||
# 2.0.0-beta.12 (2016-03-23)
|
# 2.0.0-beta.12 (2016-03-23)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user