From a7ed74f573737aeef86657b23e387faca4a9c683 Mon Sep 17 00:00:00 2001 From: Zac Date: Mon, 23 Dec 2019 12:03:52 -0500 Subject: [PATCH] docs(core): correct insertBefore's description (#34547) Update the description of `refChild` Based on https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore PR Close #34547 --- packages/core/src/render/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/render/api.ts b/packages/core/src/render/api.ts index edc0bc9a5f..f03f26eaf3 100644 --- a/packages/core/src/render/api.ts +++ b/packages/core/src/render/api.ts @@ -157,7 +157,7 @@ export abstract class Renderer2 { * in the host element DOM. * @param parent The parent node. * @param newChild The new child nodes. - * @param refChild The existing child node that should precede the new node. + * @param refChild The existing child node before which `newChild` is inserted. */ abstract insertBefore(parent: any, newChild: any, refChild: any): void; /**