parent
edbf3d2fe3
commit
33af76929f
@ -39,11 +39,11 @@ import {InjectableDef, defineInjectable} from './defs';
|
|||||||
* @usageNotes
|
* @usageNotes
|
||||||
* ### Basic Example
|
* ### Basic Example
|
||||||
*
|
*
|
||||||
* #### Plain InjectionToken
|
* ### Plain InjectionToken
|
||||||
*
|
*
|
||||||
* {@example core/di/ts/injector_spec.ts region='InjectionToken'}
|
* {@example core/di/ts/injector_spec.ts region='InjectionToken'}
|
||||||
*
|
*
|
||||||
* #### Tree-shakable InjectionToken
|
* ### Tree-shakable InjectionToken
|
||||||
*
|
*
|
||||||
* {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}
|
* {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}
|
||||||
*
|
*
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
*
|
*
|
||||||
* See {@link Component#encapsulation encapsulation}.
|
* See {@link Component#encapsulation encapsulation}.
|
||||||
*
|
*
|
||||||
|
* @usageNotes
|
||||||
|
* ### Example
|
||||||
|
* {@example core/ts/metadata/encapsulation.ts region='longform'}
|
||||||
*/
|
*/
|
||||||
export enum ViewEncapsulation {
|
export enum ViewEncapsulation {
|
||||||
/**
|
/**
|
||||||
@ -42,9 +45,6 @@ export enum ViewEncapsulation {
|
|||||||
* For the DOM this means using modern [Shadow
|
* For the DOM this means using modern [Shadow
|
||||||
* DOM](https://w3c.github.io/webcomponents/spec/shadow/) and
|
* DOM](https://w3c.github.io/webcomponents/spec/shadow/) and
|
||||||
* creating a ShadowRoot for Component's Host Element.
|
* creating a ShadowRoot for Component's Host Element.
|
||||||
*
|
|
||||||
* ### Example
|
|
||||||
* {@example core/ts/metadata/encapsulation.ts region='longform'}
|
|
||||||
*/
|
*/
|
||||||
ShadowDom = 3
|
ShadowDom = 3
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user