From eff474b5b186cf27bce995f50dc23b8cf291b5e1 Mon Sep 17 00:00:00 2001 From: chenc Date: Thu, 25 Mar 2021 23:30:09 +0800 Subject: [PATCH] =?UTF-8?q?docs(core):=20=E7=BF=BB=E8=AF=91=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ViewEncapsulation.None -> ViewEncapsulation.ShadowDom --- packages/core/src/metadata/directives.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/metadata/directives.ts b/packages/core/src/metadata/directives.ts index c4f50373ae..1681fcbf26 100644 --- a/packages/core/src/metadata/directives.ts +++ b/packages/core/src/metadata/directives.ts @@ -696,7 +696,7 @@ export interface Component extends Directive { * * - `ViewEncapsulation.ShadowDom`: Use Shadow DOM v1 to encapsulate styles. * - * `ViewEncapsulation.None`:使用全局 CSS,不做任何封装。 + * `ViewEncapsulation.ShadowDom`:使用Shadow DOM v1,封装样式。 * * If not supplied, the value is taken from `CompilerOptions`. The default compiler option is * `ViewEncapsulation.Emulated`.