This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
public/docs/ts/latest/guide Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -1681,18 +1681,13 @@ figure.image-display
1681
1681
in `By.css('h2:not([highlight])')` helps find `<h2>` elements that _do not_ have the directive.
1682
1682
`By.css('*:not([highlight])')` finds _any_ element that does not have the directive.
1683
1683
1684
- // Removed on 12/02/2016 when ceased public discussion of the `Renderer`. Revive in future?
1685
- :marked
1686
1684
* `DebugElement.styles` affords access to element styles even in the absence of a real browser, thanks to the `DebugElement` abstraction.
1687
1685
But feel free to exploit the `nativeElement` when that seems easier or more clear than the abstraction.
1688
1686
1689
- :marked
1690
1687
* Angular adds a directive to the injector of the element to which it is applied.
1691
1688
The test for the default color uses the injector of the second `<h2>` to get its `HighlightDirective` instance
1692
1689
and its `defaultColor`.
1693
1690
1694
- // Removed on 12/02/2016 when ceased public discussion of the `Renderer`. Revive in future?
1695
- :marked
1696
1691
* `DebugElement.properties` affords access to the artificial custom property that is set by the directive.
1697
1692
1698
1693
a( href ="#top" ) .to-top Back to top
You can’t perform that action at this time.
0 commit comments