docs(core): deprecate ViewEncapsulation.Native (#26361)

PR Close #26361
This commit is contained in:
Sarun Intaralawan 2018-10-10 14:06:42 +07:00 committed by Alex Rickabaugh
parent 589dd479e2
commit 18a9afc738
1 changed files with 2 additions and 2 deletions

View File

@ -516,12 +516,12 @@ export interface Component extends Directive {
/**
* An encapsulation policy for the template and CSS styles. One of:
* - `ViewEncapsulation.Native`: Use shadow roots. This works
* only if natively available on the platform.
* - `ViewEncapsulation.Native`: Deprecated. Use `ViewEncapsulation.ShadowDom` instead.
* - `ViewEncapsulation.Emulated`: Use shimmed CSS that
* emulates the native behavior.
* - `ViewEncapsulation.None`: Use global CSS without any
* encapsulation.
* - `ViewEncapsulation.ShadowDom`: Use Shadow DOM v1 to encapsulate styles.
*
* If not supplied, the value is taken from `CompilerOptions`. The default compiler option is
* `ViewEncapsulation.Emulated`.