docs(core): change from deprecated renderer to renderer2 (#19920)

We now show the proper class instead of the deprecated Renderer

Fixes #19806


PR Close #19920
This commit is contained in:
Martin Hobert 2017-10-26 09:37:44 +02:00 committed by Jason Aden
parent 20aafff092
commit 12af6d356e
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ export class ElementRef {
* <header>Use with caution</header> * <header>Use with caution</header>
* <p> * <p>
* Use this API as the last resort when direct access to DOM is needed. Use templating and * Use this API as the last resort when direct access to DOM is needed. Use templating and
* data-binding provided by Angular instead. Alternatively you take a look at {@link Renderer} * data-binding provided by Angular instead. Alternatively you can take a look at {@link Renderer2}
* which provides API that can safely be used even when direct access to native elements is not * which provides API that can safely be used even when direct access to native elements is not
* supported. * supported.
* </p> * </p>