From 22925548569c7d38563d9e2a6e71ccf564b8fa67 Mon Sep 17 00:00:00 2001 From: Panagiotis Kyriazopoulos Date: Tue, 13 Oct 2020 20:11:09 +0300 Subject: [PATCH] docs(core): fix typos in the "View Encapsulation" guide (#39246) 1. In line 25 changed the word "components" to "component's". 2. In line 66 changed the phrase "you never refer to them" to "you should never refer to them". 3. Appended the paragraph containing the above phrase in a `div` with the class `alert is-helpful`. PR Close #39246 --- aio/content/guide/view-encapsulation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/view-encapsulation.md b/aio/content/guide/view-encapsulation.md index 1f86e96054..e0dba19ad5 100644 --- a/aio/content/guide/view-encapsulation.md +++ b/aio/content/guide/view-encapsulation.md @@ -22,7 +22,7 @@ Choose from the following modes: The scoping rules, isolations, and protections discussed earlier don't apply. This is essentially the same as pasting the component's styles into the HTML. -To set the components encapsulation mode, use the `encapsulation` property in the component metadata: +To set the component's encapsulation mode, use the `encapsulation` property in the component metadata: @@ -61,7 +61,7 @@ There are two kinds of generated attributes: that identifies to which host's emulated shadow DOM this element belongs. The exact values of these attributes aren't important. They are automatically -generated and you never refer to them in application code. But they are targeted +generated and you should never refer to them in application code. But they are targeted by the generated component styles, which are in the `` section of the DOM: