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